Move to net8.0 (#1463)

* Added net8.0 to the dotnet-version array used by actions

* Changed framework version in Directory.Build.props

* Removed unsed nuget

* Update codeql-analysis.yml

* Added net8.0 target framework

* Updated code analyzer version to match net8.0

* Added net8.0 to tests

* Updated sdk version

* Updated version.json

* Fixed build for non windows machines

* Updated references in Directory.Build.targets

* Added conditional exception handling to WatchServerDisconnect test case

* Added missing project to solution
This commit is contained in:
Manuel Menegazzo
2023-12-01 11:49:56 +01:00
committed by GitHub
parent 00d78bc7c7
commit 15ad5bdfc4
19 changed files with 91 additions and 46 deletions

View File

@@ -2,8 +2,8 @@
<PropertyGroup>
<IsPackable>false</IsPackable>
<RootNamespace>k8s.Tests</RootNamespace>
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">net6.0</TargetFramework>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net48</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net7.0;net8.0;net48</TargetFrameworks>
</PropertyGroup>
<ItemGroup>