Skip to content

Commit a19f535

Browse files
committed
NET8.0, Amethyst 1.3
1 parent 2ba7089 commit a19f535

File tree

5 files changed

+15
-30
lines changed

5 files changed

+15
-30
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: microsoft/[email protected]
3838

3939
- name: Restore and build (publish)
40-
run: msbuild plugin_KinectOne /restore /p:Platform=x64 /p:PlatformTarget=x64 /p:Configuration=Release /p:RuntimeIdentifier=win10-x64 /t:Publish /p:PublishProfile=plugin_KinectOne\Properties\PublishProfiles\FolderProfile.pubxml
40+
run: msbuild plugin_KinectOne /restore /p:Platform=x64 /p:PlatformTarget=x64 /p:Configuration=Release /p:RuntimeIdentifier=win-x64 /t:Publish /p:PublishProfile=plugin_KinectOne\Properties\PublishProfiles\FolderProfile.pubxml
4141

4242
- name: Pack published files
4343
run: |

KinectHandler/KinectHandler.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<Keyword>NetCoreCProj</Keyword>
1818
<RootNamespace>KinectHandler</RootNamespace>
1919
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
20-
<TargetFramework>net7.0</TargetFramework>
21-
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
20+
<TargetFramework>net8.0</TargetFramework>
21+
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
2222
</PropertyGroup>
2323
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2424
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -95,13 +95,13 @@
9595
</ItemGroup>
9696
<ItemGroup>
9797
<PackageReference Include="Amethyst.Plugins.Contract">
98-
<Version>0.3.35</Version>
98+
<Version>1.3.0</Version>
9999
</PackageReference>
100100
<PackageReference Include="System.ComponentModel">
101101
<Version>4.3.0</Version>
102102
</PackageReference>
103103
<PackageReference Include="System.ComponentModel.Composition">
104-
<Version>8.0.0</Version>
104+
<Version>9.0.6</Version>
105105
</PackageReference>
106106
</ItemGroup>
107107
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

plugin_KinectOne/Properties/PublishProfiles/FolderProfile.pubxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
99
<PublishDir>bin\Release\Publish</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
1111
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net7.0</TargetFramework>
13-
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
12+
<TargetFramework>net8.0</TargetFramework>
13+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1414
<SelfContained>true</SelfContained>
1515
<PublishSingleFile>false</PublishSingleFile>
1616
<PublishReadyToRun>true</PublishReadyToRun>

plugin_KinectOne/RuntimeInstaller.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -228,21 +228,6 @@ public static bool KinectV2MicrophoneDisabled()
228228
}
229229
}
230230

231-
public static class RestExtensions
232-
{
233-
public static Task<byte[]> ExecuteDownloadDataAsync(this RestClient client, string baseUrl, RestRequest request)
234-
{
235-
client.Options.BaseUrl = new Uri(baseUrl);
236-
return client.DownloadDataAsync(request);
237-
}
238-
239-
public static Task<Stream> ExecuteDownloadStreamAsync(this RestClient client, string baseUrl, RestRequest request)
240-
{
241-
client.Options.BaseUrl = new Uri(baseUrl);
242-
return client.DownloadStreamAsync(request);
243-
}
244-
}
245-
246231
public static class StreamExtensions
247232
{
248233
public static async Task CopyToWithProgressAsync(this Stream source,

plugin_KinectOne/plugin_KinectOne.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net7.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
55
<TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
66
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
77
<RootNamespace>plugin_KinectOne</RootNamespace>
8-
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
8+
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
99
<Platforms>x64</Platforms>
1010
<UseWinUI>true</UseWinUI>
1111
<LangVersion>latest</LangVersion>
@@ -16,13 +16,13 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Amethyst.Plugins.Contract" Version="0.3.35" />
19+
<PackageReference Include="Amethyst.Plugins.Contract" Version="1.3.0" />
2020
<PackageReference Include="NAudio.Sdl2" Version="2.2.6" />
21-
<PackageReference Include="RestSharp" Version="108.0.3" />
22-
<PackageReference Include="System.ComponentModel.Composition" Version="8.0.0" />
23-
<PackageReference Include="System.ComponentModel.Composition.Registration" Version="8.0.0" />
24-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240627000" />
25-
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
21+
<PackageReference Include="RestSharp" Version="112.1.0" />
22+
<PackageReference Include="System.ComponentModel.Composition" Version="9.0.6" />
23+
<PackageReference Include="System.ComponentModel.Composition.Registration" Version="9.0.6" />
24+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250606001" />
25+
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.4188" />
2626
</ItemGroup>
2727

2828
<ItemGroup>

0 commit comments

Comments
 (0)