提交 2f833689 编写于 作者: J Jason Malinowski 提交者: GitHub

Merge pull request #19477 from jasonmalinowski/hack-around-publicapi-itemgroup-support

Hack around PublicAPI item group support in the new project system
......@@ -534,4 +534,12 @@
<BuildProjectReferences>false</BuildProjectReferences>
</PropertyGroup>
</Target>
<!-- Count PublicAPIs as AdditionalFiles to get them to analyzers. This is working around
https://github.com/dotnet/project-system/issues/2160 where AdditionalFileItemNames
isn't fully supported yet in the new project system. Removal of this hack is tracked
by https://github.com/dotnet/roslyn/issues/19545. -->
<ItemGroup>
<AdditionalFiles Include="@(PublicAPI)" />
</ItemGroup>
</Project>
......@@ -18,7 +18,6 @@
<RoslynDiagnosticsPropsFilePath>$(NuGetPackageRoot)\Microsoft.Net.RoslynDiagnostics\$(RoslynDiagnosticsNugetPackageVersion)\build\Microsoft.Net.RoslynDiagnostics.props</RoslynDiagnosticsPropsFilePath>
<RoslynBuildUtilFilePath>$(NuGetPackageRoot)\Roslyn.Build.Util\0.9.4-portable\lib\dotnet\Roslyn.MSBuild.Util.dll</RoslynBuildUtilFilePath>
<RoslynRuntimeIdentifier Condition="'$(RoslynRuntimeIdentifier)' == '' AND '$(OS)' == 'Windows_NT'">win7-x64</RoslynRuntimeIdentifier>
<AdditionalFileItemNames>$(AdditionalFileItemNames);PublicAPI</AdditionalFileItemNames>
<Features>strict,IOperation</Features>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<SignAssembly>true</SignAssembly>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册