simplified csproj config

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2026-08-17 00:31:56 +08:00
parent 3d6bac68f7
commit 05a8de11ec
7 changed files with 8 additions and 99 deletions
+4 -1
View File
@@ -10,7 +10,6 @@
<Nullable>enable</Nullable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisLevel>preview-all</AnalysisLevel>
<Platforms>x64;ARM64</Platforms>
<Configurations>Debug;Release;PerformanceDebug</Configurations>
@@ -117,4 +116,8 @@
<DefineConstants>$(DefineConstants);LINUX</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Include=".discard\*.old" />
</ItemGroup>
</Project>
+1 -2
View File
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<IsNativeHost>true</IsNativeHost>
</PropertyGroup>
@@ -15,4 +14,4 @@
<None Remove="Graphics\**" />
</ItemGroup>
</Project>
</Project>
@@ -1,10 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<None Remove="Numeric\MatrixParallelHandle.cs.old" />
<None Remove="Numeric\MatrixParallelWrap.cs.old" />
</ItemGroup>
<ItemGroup>
<None Include="Numeric\Runtime\MatrixParallel.Publish.cs" />
</ItemGroup>
@@ -7,12 +7,6 @@
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)Generated</CompilerGeneratedFilesOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Remove="bin\**" />
<EmbeddedResource Remove="bin\**" />
<None Remove="bin\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StgSharp.Common\StgSharp.Common.csproj" />
</ItemGroup>
@@ -22,28 +16,11 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.13.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<None Remove="bin\x64\Debug\net8.0\StgSharp.RegularAnalysis.dll" />
</ItemGroup>
<ItemGroup>
<ItemGroup>
<None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Remove="bin\x64\Debug\net8.0\StgSharp.RegularAnalysis.pdb" />
<None Include="$(OutputPath)$(AssemblyName).pdb" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" Condition="Exists('$(OutputPath)$(AssemblyName).pdb')" />
<None Remove="bin\x64\Debug\net8.0\StgSharp.Common.dll" />
<None Include="$(OutputPath)StgSharp.Common.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" Condition="Exists('$(OutputPath)StgSharp.Common.dll')" />
<None Remove="bin\x64\Debug\net8.0\StgSharp.Common.pdb" />
<None Include="$(OutputPath)StgSharp.Common.pdb" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" Condition="Exists('$(OutputPath)StgSharp.Common.pdb')" />
<None Include=".discard\RegexAnalyzer.IRGenerate.cs.old" />
<None Include=".discard\RegexAnalyzer.IROptimize.cs.old" />
<None Include=".discard\RegexAnalyzer.PrefixEmit.cs.old" />
<None Include=".discard\RegexIR.Abstraction.cs.old" />
<None Include=".discard\RegexIR.cs.old" />
<None Include=".discard\RegexIR.Prefix.cs.old" />
<None Include=".discard\RegexIRGenerator.cs.old" />
<None Include=".discard\TextRegexSourceGen.GenClass.MultiIR.cs.old" />
<None Include=".discard\TextRegexSourceGen.GenClass.Prefix.cs.old" />
<None Include=".discard\TextRegexSourceGen.GenClass.SingleIR.cs.old" />
</ItemGroup>
</Project>
@@ -10,12 +10,6 @@
<CommonManagedPdb>$(SourceRoot)StgSharp.Common\bin\$(Platform)\$(Configuration)\$(TargetFramework)\StgSharp.Common.pdb</CommonManagedPdb>
</PropertyGroup>
<ItemGroup>
<Compile Remove="bin\**" />
<EmbeddedResource Remove="bin\**" />
<None Remove="bin\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StgSharp.Common\StgSharp.Common.csproj" />
</ItemGroup>
@@ -25,10 +19,6 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<None Remove="bin\x64\Debug\net8.0\StgSharp.UserInterface.dll" />
</ItemGroup>
<ItemGroup>
<None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="$(OutputPath)$(AssemblyName).pdb" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" Condition="Exists('$(OutputPath)$(AssemblyName).pdb')" />
@@ -36,4 +26,4 @@
<None Include="$(CommonManagedPdb)" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" Condition="Exists('$(CommonManagedPdb)')" />
</ItemGroup>
</Project>
</Project>
-3
View File
@@ -1,10 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<Platforms>AnyCPU;x64</Platforms>
+1 -53
View File
@@ -2,64 +2,12 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
<None Update="xml\Genglvnd">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\genglvnd.py">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\genheaders.py">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\gl.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\glx.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\glxproto.reserved.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\Makefile">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\README.adoc">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\readme.pdf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\readme.tex">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\reg.py">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\registry.rnc">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\testesext.c">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\testglext.c">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\vendors.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\wgl.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\wgltypes.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="xml\**" CopyToOutputDirectory="Always" />
</ItemGroup>
</Project>