mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
We aren't going to fix these until #5610 is figured out, and these aren't even an indicator of an issue itself. They indicate that we have code fixes in the same assembly as analyzers, meaning the analyzers COULD fail if we relied on some code fix libs - something we don't do.
39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<Project>
|
|
<!--
|
|
I wanted to make a Robust.Roslyn.Shared library project,
|
|
but doing that causes various random library load failures in practice.
|
|
|
|
Instead, you'll get this vomit. Enjoy.
|
|
-->
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<LangVersion>12</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<PolySharpIncludeGeneratedTypes>System.Index;System.Diagnostics.CodeAnalysis.NotNullWhenAttribute;System.Runtime.CompilerServices.IsExternalInit;System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute</PolySharpIncludeGeneratedTypes>
|
|
<NoWarn>RS2008;RS1038</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.Common" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" />
|
|
|
|
<PackageReference Include="PolySharp">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\Robust.Roslyn.Shared\**\*.cs">
|
|
<Link>Robust.Roslyn.Shared\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
</Compile>
|
|
<Compile Remove="..\Robust.Roslyn.Shared\obj\**\*.cs" />
|
|
</ItemGroup>
|
|
</Project>
|