feat(wxads): bump version to v3.0.0

This commit is contained in:
Fu Diwei 2024-02-07 15:54:55 +08:00 committed by RHQYZ
parent c774af7466
commit d99d45a0dd
2 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net461; netstandard2.0; net6.0</TargetFrameworks> <TargetFrameworks>net462; netstandard2.0; net6.0</TargetFrameworks>
<LangVersion>10.0</LangVersion> <LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<NullableReferenceTypes>true</NullableReferenceTypes> <NullableReferenceTypes>true</NullableReferenceTypes>
@ -14,7 +14,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl> <PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatAds WechatAdvertisting 微信 广告平台 微信广告平台 腾讯广告平台 广点通 微信广点通 腾讯广点通</PackageTags> <PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatAds WechatAdvertisting 微信 广告平台 微信广告平台 腾讯广告平台 广点通 微信广点通 腾讯广点通</PackageTags>
<Version>3.0.0-preview.1</Version> <Version>3.0.0</Version>
<Description>基于 Flurl.Http 的微信广告平台广点通API 客户端。</Description> <Description>基于 Flurl.Http 的微信广告平台广点通API 客户端。</Description>
<Authors>Fu Diwei</Authors> <Authors>Fu Diwei</Authors>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
@ -36,11 +36,11 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System.Web" Condition="'$(TargetFramework)' == 'net461'" /> <Reference Include="System.Web" Condition="'$(TargetFramework)' == 'net462'" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="SKIT.FlurlHttpClient.Common" Version="3.0.0-preview.1" /> <PackageReference Include="SKIT.FlurlHttpClient.Common" Version="3.0.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -11,6 +11,10 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads.UnitTests
[Fact(DisplayName = "代码质量分析")] [Fact(DisplayName = "代码质量分析")]
public void TestCodeAnalyzer() public void TestCodeAnalyzer()
{ {
// NOTICE:
// 如果 Visual Studio 遇到 “缺少 SKIT.FlurlHttpClient.Tools.CodeAnalyzer 包” 的错误,
// 请参考此 Issuehttps://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient/issues/8
Assert.Null(Record.Exception(() => Assert.Null(Record.Exception(() =>
{ {
var options = new TypeDeclarationAnalyzerOptions() var options = new TypeDeclarationAnalyzerOptions()