增加.net6.0

This commit is contained in:
陈国伟 2021-06-16 09:56:26 +08:00
parent a9025be505
commit 3d20996d4b

View File

@ -1,21 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<Nullable>enable</Nullable>
<TargetFramework>net5.0</TargetFramework>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
<Version>1.0.2</Version>
</PropertyGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<Nullable>enable</Nullable>
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
<Version>1.0.2</Version>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\FastGithub.Dns\FastGithub.Dns.csproj" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
</PropertyGroup>
<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FastGithub.Dns\FastGithub.Dns.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>