From 9ab5255e052e1f043d42c342bd783ff4894153aa Mon Sep 17 00:00:00 2001 From: Taylor Southwick Date: Tue, 9 Mar 2021 13:57:38 -0800 Subject: [PATCH] Add flag to exclude MSBuild runtime libraries (#327) --- Directory.Build.targets | 8 +++++++- .../Microsoft.DotNet.UpgradeAssistant.Cli.csproj | 1 + .../Microsoft.DotNet.UpgradeAssistant.MSBuild.csproj | 2 +- ...radeAssistant.Extensions.Default.Analyzers.Test.csproj | 3 ++- tests/tool/Integration.Tests/Integration.Tests.csproj | 1 + 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index fbcf585a..dd528073 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -13,7 +13,13 @@ - + + false + + + + NU1701 - diff --git a/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj b/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj index c696ff50..c3789120 100644 --- a/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj +++ b/tests/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers.Test.csproj @@ -4,6 +4,7 @@ true true true + true @@ -14,7 +15,7 @@ - + diff --git a/tests/tool/Integration.Tests/Integration.Tests.csproj b/tests/tool/Integration.Tests/Integration.Tests.csproj index 054e85ab..eee1c878 100644 --- a/tests/tool/Integration.Tests/Integration.Tests.csproj +++ b/tests/tool/Integration.Tests/Integration.Tests.csproj @@ -4,6 +4,7 @@ false true true + true