增加.net6.0

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

View File

@ -3,11 +3,15 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<TargetFramework>net5.0</TargetFramework> <TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile> <EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
<Version>1.0.2</Version> <Version>1.0.2</Version>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\FastGithub.Dns\FastGithub.Dns.csproj" /> <ProjectReference Include="..\FastGithub.Dns\FastGithub.Dns.csproj" />
</ItemGroup> </ItemGroup>