XFEExtension.NetCore.ServerInteractive
[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig
关注
0
Fork
0
Star
0
返回提交历史
Modified
XFEExtension.NetCore.ServerInteractive.SourceGenerator/XFEExtension.NetCore.ServerInteractive.SourceGenerator.csproj
+10
-8
Modified
XFEExtension.NetCore.ServerInteractive.TServer/XFEExtension.NetCore.ServerInteractive.TServer.csproj
+0
-1
Modified
XFEExtension.NetCore.ServerInteractive/XFEExtension.NetCore.ServerInteractive.csproj
+1
-4
XFEstudio/XFEExtension.NetCore.ServerInteractive
规范Source Generator依赖与引用方式,升级Roslyn包
对Source Generator项目的依赖和构建配置进行了规范化,升级了Microsoft.CodeAnalysis相关依赖至5.3.0,并移除了在主项目中的Analyzer引用,防止其被错误地作为普通库依赖。调整了构建属性,确保生成包时不包含不必要的输出。
5131274
代码差异
3 个文件
+11
-13
@@ -1,20 +1,22 @@
1
<Project Sdk="Microsoft.NET.Sdk">
1
<Project Sdk="Microsoft.NET.Sdk">
2
2
3
3
<PropertyGroup>
4
4
<TargetFramework>netstandard2.0</TargetFramework>
5
5
<LangVersion>latest</LangVersion>
6
6
<Nullable>enable</Nullable>
7
7
<IsRoslynComponent>true</IsRoslynComponent>
8
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
9
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
10
8
</PropertyGroup>
11
9
10
<PropertyGroup>
11
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
12
<!-- Generates a package at build -->
13
<IncludeBuildOutput>false</IncludeBuildOutput>
14
<!-- Do not include the generator as a lib dependency -->
15
</PropertyGroup>
16
12
17
<ItemGroup>
13
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4">
14
<PrivateAssets>all</PrivateAssets>
15
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
16
</PackageReference>
17
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
18
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="5.3.0" PrivateAssets="all" />
19
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.3.0" PrivateAssets="all" />
18
20
</ItemGroup>
19
21
20
22
</Project>
@@ -9,7 +9,6 @@
9
9
10
10
<ItemGroup>
11
11
<ProjectReference Include="..\XFEExtension.NetCore.ServerInteractive\XFEExtension.NetCore.ServerInteractive.csproj" />
12
<ProjectReference Include="..\XFEExtension.NetCore.ServerInteractive.SourceGenerator\XFEExtension.NetCore.ServerInteractive.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
13
12
</ItemGroup>
14
13
15
14
</Project>
@@ -51,6 +51,7 @@
51
51
<Pack>True</Pack>
52
52
<PackagePath>\</PackagePath>
53
53
</None>
54
<None Include="..\XFEExtension.NetCore.ServerInteractive.SourceGenerator\bin\Release\netstandard2.0\XFEExtension.NetCore.ServerInteractive.SourceGenerator.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
54
55
</ItemGroup>
55
56
56
57
<ItemGroup>
@@ -61,8 +62,4 @@
61
62
<PackageReference Include="XFEExtension.NetCore.XFEConsole" Version="2.1.0" />
62
63
</ItemGroup>
63
64
64
<ItemGroup>
65
<ProjectReference Include="..\XFEExtension.NetCore.ServerInteractive.SourceGenerator\XFEExtension.NetCore.ServerInteractive.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
66
</ItemGroup>
67
68
65
</Project>