提交 c8036b89 编写于 作者: S Sam Harwell

Avoid generating binding redirects for missing assemblies

Works around Microsoft/msbuild#4239.
上级 6cce0b90
......@@ -14,7 +14,8 @@
DependsOnTargets="ResolveAssemblyReferences"
Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<ItemGroup>
<SuggestedBindingRedirects Include="@(ReferencePath->'%(FusionName)')" MaxVersion="%(ReferencePath.Version)" KeepMetadata="-none-" Condition="'%(ReferencePath.FrameworkFile)' != 'true'" />
<!-- Note: ReferencePath.Version can be missing for design time builds prior to the first full build. -->
<SuggestedBindingRedirects Include="@(ReferencePath->'%(FusionName)')" MaxVersion="%(ReferencePath.Version)" KeepMetadata="-none-" Condition="'%(ReferencePath.FrameworkFile)' != 'true' and '%(ReferencePath.Version)' != ''" />
</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.
先完成此消息的编辑!
想要评论请 注册