项目文件框架更改
This commit is contained in:
parent
404e1085a7
commit
12beee8577
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Description>WebService相关方法</Description>
|
<Description>WebService相关方法</Description>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net5;net6</TargetFrameworks>
|
<TargetFrameworks>net5;net6;net7</TargetFrameworks>
|
||||||
<ImplicitUsings>disable</ImplicitUsings>
|
<ImplicitUsings>disable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Description>Falcon.SugarApi基础定义</Description>
|
<Description>Falcon.SugarApi基础定义</Description>
|
||||||
|
@ -34,6 +34,12 @@
|
||||||
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.4" />
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net7' ">
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.4" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<!--<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
<!--<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
<Exec Command="call $(SolutionDir)\Script\PushNuget.bat" />
|
<Exec Command="call $(SolutionDir)\Script\PushNuget.bat" />
|
||||||
</Target>-->
|
</Target>-->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user