未验证 提交 6ef7110f 编写于 作者: D Dipesh Kumar 提交者: GitHub

Fix build when using source generators coming from NuGet package (#6800)

上级 c2a17b1c
......@@ -513,6 +513,20 @@
</Target>
<!--
===========================================
RemoveDuplicateAnalyzers
===========================================
Name : RemoveDuplicateAnalyzers
-->
<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">
<ItemGroup>
<FilteredAnalyzer Include="@(Analyzer->Distinct())" />
<Analyzer Remove="@(Analyzer)" />
<Analyzer Include="@(FilteredAnalyzer)" />
</ItemGroup>
</Target>
<!--
......@@ -997,4 +1011,3 @@
<!-- End of the project file, Do not add any more propeties, items, targets etc. -->
</Project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册