Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 3503ba4

Browse files
Updating target framework to use net6.0 (#1980)
* Updating target framework to use net6.0 * Disabling generation of reference assemblies for C# tests
1 parent 8bb59ca commit 3503ba4

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/csharp/Tests/FunctionalTests/Microsoft.Azure.Kinect.Sensor.FunctionalTests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
<Import Project="..\..\k4a.props" />
33

44
<PropertyGroup>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66

77
<IsPackable>false</IsPackable>
88

99
<Platforms>x64;x86</Platforms>
1010
<RunCodeAnalysis>false</RunCodeAnalysis>
1111
<CodeAnalysisRuleSet>..\..\AzureKinectSensorSDK.ruleset</CodeAnalysisRuleSet>
1212
<OutputPath>$(BaseOutputPath)\$(AssemblyName)\</OutputPath>
13+
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

src/csharp/Tests/StubGenerator.UnitTests/Microsoft.Azure.Kinect.Sensor.Test.StubGenerator.UnitTests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="..\..\k4a.props" />
33

44
<PropertyGroup>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66

77
<IsPackable>false</IsPackable>
88

@@ -12,6 +12,7 @@
1212
<OutputPath>$(BaseOutputPath)\$(AssemblyName)\</OutputPath>
1313
<SignAssembly>true</SignAssembly>
1414
<AssemblyOriginatorKeyFile>..\..\Microsoft.Azure.Kinect.Sensor.snk</AssemblyOriginatorKeyFile>
15+
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
1516
</PropertyGroup>
1617

1718
<ItemGroup>

src/csharp/Tests/UnitTests/Microsoft.Azure.Kinect.Sensor.UnitTests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="..\..\k4a.props" />
33

44
<PropertyGroup>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66

77
<IsPackable>false</IsPackable>
88

@@ -12,6 +12,7 @@
1212
<OutputPath>$(BaseOutputPath)\$(AssemblyName)\</OutputPath>
1313
<SignAssembly>true</SignAssembly>
1414
<AssemblyOriginatorKeyFile>..\..\Microsoft.Azure.Kinect.Sensor.snk</AssemblyOriginatorKeyFile>
15+
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
1516
</PropertyGroup>
1617

1718
<ItemGroup>

0 commit comments

Comments
 (0)