Skip to content

Commit 14754b4

Browse files
committed
1.0.8
1 parent d29e747 commit 14754b4

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

WebApiClient.Analyzers/Descriptors.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static class Descriptors
4949
/// </summary>
5050
public static DiagnosticDescriptor HttpApiCreateDescriptor { get; }
5151
= Create("WA2001", "慎用的Create函数",
52-
"请慎用HttpApi.Create()函数,除非结合HttpClient工厂使用或者用于请求之后就释放的短链接请求",
52+
"建议使用HttpApi.Register/Resolve函数,HttpApi.Create一般用于结合HttpClient工厂使用或者用于请求之后就释放的短链接请求",
5353
level: DiagnosticSeverity.Warning,
5454
helpLinkUri: "https://github.com/dotnetcore/WebApiClient/wiki/WebApiClient%E8%BF%9B%E9%98%B6");
5555

WebApiClient.Analyzers/WebApiClient.Analyzers.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>1.0.6</Version>
4+
<Version>1.0.8</Version>
55
<TargetFramework>netstandard1.1</TargetFramework>
66
<PackageTargetFallback>portable-net45+win8</PackageTargetFallback>
77
<Configurations>JIT_Debug;JIT_Release;AOT_Debug;AOT_Release</Configurations>

WebApiClient/WebApiClient.csproj

0 Bytes
Binary file not shown.

WebApiClient/nuget/analyzers/dotnet/cs/WebApiClient.Analyzers.deps.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"targets": {
88
".NETStandard,Version=v1.1": {},
99
".NETStandard,Version=v1.1/": {
10-
"WebApiClient.Analyzers/1.0.6": {
10+
"WebApiClient.Analyzers/1.0.8": {
1111
"dependencies": {
1212
"Microsoft.CodeAnalysis.Analyzers": "1.2.0-beta2",
1313
"Microsoft.CodeAnalysis.CSharp.Workspaces": "1.2.2",
@@ -383,7 +383,7 @@
383383
}
384384
},
385385
"libraries": {
386-
"WebApiClient.Analyzers/1.0.6": {
386+
"WebApiClient.Analyzers/1.0.8": {
387387
"type": "project",
388388
"serviceable": false,
389389
"sha512": ""
Binary file not shown.

0 commit comments

Comments
 (0)