add net7 remove net5 (#1085)
* add net7 * remove net5 * fix build * fix versions * revert to 10.0 due to ci * fix automapper * update ver matrix * fix warning * fix net7 test err * more target to basic and model pkg
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<TargetFrameworks>netstandard2.0;net6.0;net7.0</TargetFrameworks>
|
||||
<RootNamespace>k8s.Models</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Text.Json" Version="6.0.6" />
|
||||
<PackageReference Include="AutoMapper" Version="10.1.1" />
|
||||
<PackageReference Include="AutoMapper" Version="12.0.0" Condition="'$(TargetFramework)' != 'netstandard2.0'" />
|
||||
<PackageReference Include="AutoMapper" Version="10.1.1" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
|
||||
<PackageReference Include="Fractions" Version="7.2.0" />
|
||||
<PackageReference Include="YamlDotNet" Version="12.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user