返回提交历史
Modified
XFEExtension.NetCore.XUnit.Analyzer/Generator/XUnitCodeGenerator.cs
+1
-1
Modified
XFEExtension.NetCore.XUnit/XFEExtension.NetCore.XUnit.csproj
+4
-4
XFEstudio/XFEExtension.NetCore.XUnit
修复全局 using 拼写错误并升级版本至 2.1.1
修正了全局 using 语句中的命名空间拼写错误,避免因中文逗号导致的命名空间解析问题。同时将 NuGet 包版本号从 2.1.0 升级至 2.1.1。
34f3104
代码差异
2 个文件
+5
-5
@@ -11,7 +11,7 @@ namespace XFEExtension.NetCore.XUnit.Analyzer.Generator
11
11
{
12
12
const string globalUsingCode = """
13
13
global using global::XFEExtension.NetCore.XUnit;
14
global using global::XFEExtension.NetCore.XUnit,Attributes;
14
global using global::XFEExtension.NetCore.XUnit.Attributes;
15
15
""";
16
16
init.AddSource("GlobalUsing.g.cs", globalUsingCode);
17
17
const string xUnitCode = """
@@ -13,14 +13,14 @@
13
13
<PackageReadmeFile>README.md</PackageReadmeFile>
14
14
<RepositoryUrl>https://github.com/XFEstudio/XFEExtension.NetCore.XUnit</RepositoryUrl>
15
15
<PackageTags>XFE;Test;XUnit;Unit</PackageTags>
16
<Version>2.1.0</Version>
16
<Version>2.1.1</Version>
17
17
<PackageLicenseFile>LICENSE</PackageLicenseFile>
18
18
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
19
19
<PackageReleaseNotes>
20
优化分析器与生成器,升级包版本至2.1.0
20
修复全局 using 拼写错误并升级版本至 2.1.1
21
21
22
重构了 RegisterCodeFixesAsync 方法,提升代码简洁性;修正诊断文档链接及变量声明风格;生成器采用 C# 11 原始字符串字面量并补充全局 using,修正命名空间拼写;csproj 增加 LangVersion 支持最新特性,NuGet 包版本升级至 2.1.0。
23
</PackageReleaseNotes>
22
修正了全局 using 语句中的命名空间拼写错误,避免因中文逗号导致的命名空间解析问题。同时将 NuGet 包版本号从 2.1.0 升级至 2.1.1。
23
</PackageReleaseNotes>
24
24
</PropertyGroup>
25
25
26
26
<ItemGroup>