C#: Suppress NU5128 warning

Suppress dependencies of SourceGenerators package to fix NU5128.
This commit is contained in:
Raul Santos 2023-07-15 15:25:37 +02:00
parent 83cc5d4914
commit f2e9cbf9e8
No known key found for this signature in database
GPG key ID: B532473AE3A803E4

View file

@ -18,6 +18,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<!-- Do not include the generator as a lib dependency -->
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" PrivateAssets="all" />