未验证 提交 929c9e00 编写于 作者: W Will Smith 提交者: GitHub

Fixed referencing netstandard projects in legacy projects (#4096)

上级 dded030d
......@@ -805,6 +805,12 @@ private static FrameworkCompatibility CheckFrameworksCompatibility(ProjectNode t
return FrameworkCompatibility.Ok;
}
if (String.Compare(otherFrameworkName.Identifier, ".NETStandard", StringComparison.OrdinalIgnoreCase) == 0)
{
// we always allow references to projects that are targeted to the ".NETStandard" family
return FrameworkCompatibility.Ok;
}
var myFrameworkName = GetProjectTargetFrameworkName(thisProject);
if (String.Compare(otherFrameworkName.Identifier, myFrameworkName.Identifier, StringComparison.OrdinalIgnoreCase) == 0)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册