Skip to content

Commit

Permalink
使用Directory.Build
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Jun 20, 2021
1 parent 4be77b9 commit dcfe80d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
13 changes: 13 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project>
<PropertyGroup>
<Version>1.0.0-rc2</Version>
<Nullable>enable</Nullable>
<Description>github定制版的dns服务,解析github最优的ip</Description>
<Copyright>https://github.com/xljiulang/FastGithub</Copyright>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
</Project>
1 change: 0 additions & 1 deletion FastGithub.Core/FastGithub.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
<RootNamespace>FastGithub</RootNamespace>
</PropertyGroup>

Expand Down
1 change: 0 additions & 1 deletion FastGithub.Dns/FastGithub.Dns.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions FastGithub.Scanner/FastGithub.Scanner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DNS" Version="6.1.0" />
<PackageReference Include="IPNetwork2" Version="2.5.320" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FastGithub.Core\FastGithub.Core.csproj" />
<ProjectReference Include="..\FastGithub.Core\FastGithub.Core.csproj" />
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion FastGithub.Upgrade/FastGithub.Upgrade.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions FastGithub/FastGithub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<Nullable>enable</Nullable>
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<Version>1.0.0-rc2</Version>
<Description>github定制版的dns服务,解析github最优的ip</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>https://github.com/xljiulang/FastGithub</Copyright>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
Expand Down

0 comments on commit dcfe80d

Please sign in to comment.