Skip to content

Commit b3f99b0

Browse files
committed
2.0.4
1 parent f22ada5 commit b3f99b0

File tree

2 files changed

+57
-53
lines changed

2 files changed

+57
-53
lines changed

Directory.Build.props

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<Project>
1+
<Project>
22
<PropertyGroup>
3-
<Version>2.0.3</Version>
3+
<Version>2.0.4</Version>
44
<Copyright>Copyright © laojiu 2017-2022</Copyright>
55
<NoWarn>IDE0057</NoWarn>
66
</PropertyGroup>
77

88
<PropertyGroup>
99
<Authors>laojiu</Authors>
10-
<Company>laojiu</Company>
10+
<Company>laojiu</Company>
1111
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1212
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1313
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -18,8 +18,11 @@
1818
<ItemGroup>
1919
<None Include="..\icon.png">
2020
<Pack>True</Pack>
21-
<PackagePath></PackagePath>
21+
<PackagePath>\</PackagePath>
2222
</None>
23+
</ItemGroup>
24+
25+
<ItemGroup>
2326
<None Include="..\.editorconfig" Link=".editorconfig" />
2427
</ItemGroup>
2528
</Project>
Lines changed: 50 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,54 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<Nullable>enable</Nullable>
5-
<TargetFramework>netstandard2.1</TargetFramework>
6-
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
7-
8-
<Description>.NetCore声明式的Http客户端库</Description>
9-
<Summary>一款基于HttpClient封装,只需要定义c#接口并修饰相关特性,即可异步调用远程http接口的客户端库</Summary>
10-
11-
<SignAssembly>true</SignAssembly>
12-
<AssemblyOriginatorKeyFile>Sign.snk</AssemblyOriginatorKeyFile>
13-
</PropertyGroup>
14-
15-
<ItemGroup>
16-
<PackageReference Include="System.Net.Http" Version="4.3.4" />
17-
<PackageReference Include="Microsoft.Extensions.Http" Version="3.0.0" />
18-
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="3.0.0" />
19-
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="3.0.0" />
20-
</ItemGroup>
21-
22-
<!--nuget analyzers和tools目录-->
23-
<ItemGroup>
24-
<None Include="NugetPackage\tools\*.*" PackagePath="tools" Pack="true" />
25-
<None Include="NugetPackage\analyzers\dotnet\cs\**" PackagePath="analyzers\dotnet\cs" Pack="true" />
26-
</ItemGroup>
27-
28-
<ItemGroup>
29-
<ProjectReference Include="..\WebApiClientCore.Abstractions\WebApiClientCore.Abstractions.csproj" />
30-
</ItemGroup>
31-
32-
<ItemGroup>
33-
<Compile Update="Resx.Designer.cs">
34-
<DesignTime>True</DesignTime>
35-
<AutoGen>True</AutoGen>
36-
<DependentUpon>Resx.resx</DependentUpon>
37-
</Compile>
38-
</ItemGroup>
39-
<ItemGroup>
40-
<EmbeddedResource Update="Resx.resx">
41-
<Generator>ResXFileCodeGenerator</Generator>
42-
<LastGenOutput>Resx.Designer.cs</LastGenOutput>
43-
</EmbeddedResource>
44-
</ItemGroup>
45-
<ItemGroup>
46-
<Folder Include="NugetPackage\analyzers\" />
47-
</ItemGroup>
48-
49-
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
50-
<Exec Command="dotnet publish ../WebApiClientCore.Analyzers/WebApiClientCore.Analyzers.csproj -c Release -o NugetPackage/analyzers/dotnet/cs" />
51-
</Target>
3+
<PropertyGroup>
4+
<Nullable>enable</Nullable>
5+
<TargetFramework>netstandard2.1</TargetFramework>
6+
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
7+
8+
<Description>.NetCore声明式的Http客户端库</Description>
9+
<Summary>一款基于HttpClient封装,只需要定义c#接口并修饰相关特性,即可异步调用远程http接口的客户端库</Summary>
10+
11+
<SignAssembly>true</SignAssembly>
12+
<AssemblyOriginatorKeyFile>Sign.snk</AssemblyOriginatorKeyFile>
13+
</PropertyGroup>
14+
15+
<ItemGroup>
16+
<PackageReference Include="System.Net.Http" Version="4.3.4" />
17+
<PackageReference Include="Microsoft.Extensions.Http" Version="3.0.0" />
18+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="3.0.0" />
19+
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="3.0.0" />
20+
</ItemGroup>
21+
22+
<!--nuget analyzers和tools目录-->
23+
<ItemGroup>
24+
<None Include="NugetPackage\tools\*.*" PackagePath="tools" Pack="true" />
25+
<None Include="NugetPackage\analyzers\dotnet\cs\**" PackagePath="analyzers\dotnet\cs" Pack="true" />
26+
</ItemGroup>
27+
28+
<ItemGroup>
29+
<ProjectReference Include="..\WebApiClientCore.Abstractions\WebApiClientCore.Abstractions.csproj" />
30+
</ItemGroup>
31+
32+
<ItemGroup>
33+
<Compile Update="Resx.Designer.cs">
34+
<DesignTime>True</DesignTime>
35+
<AutoGen>True</AutoGen>
36+
<DependentUpon>Resx.resx</DependentUpon>
37+
</Compile>
38+
</ItemGroup>
39+
<ItemGroup>
40+
<EmbeddedResource Update="Resx.resx">
41+
<Generator>ResXFileCodeGenerator</Generator>
42+
<LastGenOutput>Resx.Designer.cs</LastGenOutput>
43+
</EmbeddedResource>
44+
</ItemGroup>
45+
46+
<ItemGroup>
47+
<Folder Include="NugetPackage\analyzers\" />
48+
</ItemGroup>
49+
50+
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
51+
<Exec Command="dotnet publish ../WebApiClientCore.Analyzers/WebApiClientCore.Analyzers.csproj -c Release -o NugetPackage/analyzers/dotnet/cs" />
52+
</Target>
5253

5354
</Project>

0 commit comments

Comments
 (0)