Fixed referencing netstandard projects in legacy projects (#4096)
This commit is contained in:
Родитель
dded030d3b
Коммит
929c9e003e
|
@ -805,6 +805,12 @@ namespace Microsoft.VisualStudio.FSharp.ProjectSystem
|
|||
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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче