Skip to content

Commit

Permalink
fix analyzers nuspec generation
Browse files Browse the repository at this point in the history
  • Loading branch information
fakefeik committed Aug 22, 2024
1 parent 0dd9cff commit 6392248
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion NUnit.Analyzers/NUnit.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,21 @@
<Authors>Pavel Vostretsov</Authors>

<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeBuildOutput>false</IncludeBuildOutput>
<IncludeSymbols>false</IncludeSymbols>

<!-- https://docs.microsoft.com/en-us/nuget/reference/nuspec#developmentdependency -->
<developmentDependency>true</developmentDependency>
<DevelopmentDependency>true</DevelopmentDependency>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" />
</ItemGroup>

<!-- The convention for analyzers is to put language agnostic dlls in analyzers\dotnet and language specific analyzers in either analyzers\dotnet\cs or analyzers\dotnet\vb -->
<ItemGroup>
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers\dotnet\cs" />
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>

Expand Down

0 comments on commit 6392248

Please sign in to comment.