From 29128172fc60e04c83f79059c9b42eff828320c2 Mon Sep 17 00:00:00 2001 From: Tanya Solyanik Date: Fri, 15 Apr 2022 16:32:40 -0700 Subject: [PATCH] Disable NU1505 warning until https://github.com/dotnet/sdk/issues/24747 is fixed. --- .../VisualBasicRuntimeTest/VisualBasicRuntimeTest.csproj | 5 ++++- .../tests/AccessibilityTests/AccessibilityTests.csproj | 6 ++++-- .../DesignSurface/DemoConsole/DemoConsole.csproj | 6 +++--- .../NativeHost.ManagedControl.csproj | 6 ++++-- .../WinformsControlsTest/WinformsControlsTest.csproj | 4 +++- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/Microsoft.VisualBasic/tests/IntegrationTests/VisualBasicRuntimeTest/VisualBasicRuntimeTest.csproj b/src/Microsoft.VisualBasic/tests/IntegrationTests/VisualBasicRuntimeTest/VisualBasicRuntimeTest.csproj index 8f3ddde355d..6f3cefcd63d 100644 --- a/src/Microsoft.VisualBasic/tests/IntegrationTests/VisualBasicRuntimeTest/VisualBasicRuntimeTest.csproj +++ b/src/Microsoft.VisualBasic/tests/IntegrationTests/VisualBasicRuntimeTest/VisualBasicRuntimeTest.csproj @@ -2,8 +2,11 @@ Exe + + $(NoWarn);NU1505 - + diff --git a/src/System.Windows.Forms/tests/AccessibilityTests/AccessibilityTests.csproj b/src/System.Windows.Forms/tests/AccessibilityTests/AccessibilityTests.csproj index 0afe302fff5..d74f3bcea49 100644 --- a/src/System.Windows.Forms/tests/AccessibilityTests/AccessibilityTests.csproj +++ b/src/System.Windows.Forms/tests/AccessibilityTests/AccessibilityTests.csproj @@ -6,11 +6,13 @@ AccessibilityTests app1.manifest - false false + + $(NoWarn);NU1505 - + diff --git a/src/System.Windows.Forms/tests/IntegrationTests/DesignSurface/DemoConsole/DemoConsole.csproj b/src/System.Windows.Forms/tests/IntegrationTests/DesignSurface/DemoConsole/DemoConsole.csproj index f2aba3402dd..2135e137ebc 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/DesignSurface/DemoConsole/DemoConsole.csproj +++ b/src/System.Windows.Forms/tests/IntegrationTests/DesignSurface/DemoConsole/DemoConsole.csproj @@ -8,14 +8,14 @@ false false - - $(NoWarn),SA1633,CS8002 + + $(NoWarn);SA1633;CS8002;NU1505 Copyright © Paolo Foti 2008 Paolo Foti CPOL https://www.codeproject.com/Articles/24385/Have-a-Great-DesignTime-Experience-with-a-Powerful - true diff --git a/src/System.Windows.Forms/tests/IntegrationTests/NativeHost.ManagedControl/NativeHost.ManagedControl.csproj b/src/System.Windows.Forms/tests/IntegrationTests/NativeHost.ManagedControl/NativeHost.ManagedControl.csproj index d139f3387ee..a134fa79d0d 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/NativeHost.ManagedControl/NativeHost.ManagedControl.csproj +++ b/src/System.Windows.Forms/tests/IntegrationTests/NativeHost.ManagedControl/NativeHost.ManagedControl.csproj @@ -4,11 +4,13 @@ NativeHost.ManagedControl x86;x64 true - false false + + $(NoWarn);NU1505 - + diff --git a/src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/WinformsControlsTest.csproj b/src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/WinformsControlsTest.csproj index e7beb565118..3176aa37e0c 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/WinformsControlsTest.csproj +++ b/src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/WinformsControlsTest.csproj @@ -13,7 +13,9 @@ - $(NoWarn),WFDEV001 + + $(NoWarn),WFDEV001;NU1505