未验证 提交 6c6fad35 编写于 作者: T Tomáš Matoušek 提交者: GitHub

Fix generation of compiler binding redirects (#29331)

上级 0c884ee6
......@@ -13,6 +13,9 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<Target Name="_GenerateCompilerExecutableBindingRedirects" BeforeTargets="GenerateBindingRedirects" DependsOnTargets="GetAssemblyVersion">
<Error Text="AssemblyVersion is not initialized" Condition="'$(AssemblyVersion)' == ''"/>
<ItemGroup>
<!-- The version 0.0.0.0 in these references doesn't actually matter; the generated versions will always generate from 0.0.0.0-->
<SuggestedBindingRedirects Include="Microsoft.CodeAnalysis, Version=0.0.0.0, Culture=neutral, PublicKeyToken=$(PublicKeyToken)">
......@@ -67,4 +70,5 @@
<MaxVersion>4.1.0.0</MaxVersion>
</SuggestedBindingRedirects>
</ItemGroup>
</Target>
</Project>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册