Skip to content

Commit 2d39ede

Browse files
authored
fix: _AddAnalyzersToOutput (#9)
1 parent 6d66350 commit 2d39ede

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/NetEvolve.Defaults.Analyzer/NetEvolve.Defaults.Analyzer.csproj

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2020
<IncludeSymbols>false</IncludeSymbols>
21+
22+
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage>
2123
</PropertyGroup>
2224

2325
<ItemGroup>
@@ -49,4 +51,10 @@
4951
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
5052
</ItemGroup>
5153

54+
<Target Name="_AddAnalyzersToOutput">
55+
<ItemGroup>
56+
<TfmSpecificPackageFile Include="$(OutputPath)\$(AssemblyName).dll" PackagePath="analyzers/dotnet/cs" />
57+
</ItemGroup>
58+
</Target>
59+
5260
</Project>

0 commit comments

Comments
 (0)