Merge pull request #483 from sharwell/ignore-any-framework
Ignore 'any' framework references
This commit is contained in:
Коммит
02e772b521
|
@ -353,7 +353,9 @@ namespace Microsoft.CodeAnalysis.Testing
|
|||
}
|
||||
}
|
||||
|
||||
if (nearestFramework is object)
|
||||
// Ignore framework references for 'Any,Version=v0.0' until we know how NuGet is supposed to handle
|
||||
// them. https://github.com/dotnet/roslyn-sdk/issues/482
|
||||
if (nearestFramework is { IsAny: false })
|
||||
{
|
||||
var nearestFrameworkItems = frameworkItems.Single(x => x.TargetFramework == nearestFramework);
|
||||
foreach (var item in nearestFrameworkItems.Items)
|
||||
|
|
Загрузка…
Ссылка в новой задаче