diff --git a/src/System.Private.Windows.Core/src/System.Private.Windows.Core.csproj b/src/System.Private.Windows.Core/src/System.Private.Windows.Core.csproj index ad70123bc15..cb791d26fd6 100644 --- a/src/System.Private.Windows.Core/src/System.Private.Windows.Core.csproj +++ b/src/System.Private.Windows.Core/src/System.Private.Windows.Core.csproj @@ -13,11 +13,12 @@ users won't be impacted. If some name becomes difficult to adapt to with the @ symbol we can cross that bridge when we hit it (if ever). --> - $(NoWarn);CS8981;CS3016 + $(NoWarn);CS8981 - $(NoWarn);CS3016 + $(NoWarn);CS3016;SYSLIB5005 true true false diff --git a/src/System.Private.Windows.Core/tests/BinaryFormatTests/BinaryFormatTests.csproj b/src/System.Private.Windows.Core/tests/BinaryFormatTests/BinaryFormatTests.csproj index fd16de29a2d..9ede62cd058 100644 --- a/src/System.Private.Windows.Core/tests/BinaryFormatTests/BinaryFormatTests.csproj +++ b/src/System.Private.Windows.Core/tests/BinaryFormatTests/BinaryFormatTests.csproj @@ -29,8 +29,9 @@ SYSLIB0011: BinaryFormatter obsolete SYSLIB0050: Obsolete attribute SYSLIB0051: Formatters obsolete + SYSLIB5005: System.Formats.Nrbf is experimental --> - $(NoWarn);CS1574;CS1580;CA1036;CA1051;CA1066;SYSLIB0011;SYSLIB0050;SYSLIB0051;xUnit1013 + $(NoWarn);CS1574;CS1580;CA1036;CA1051;CA1066;SYSLIB0011;SYSLIB0050;SYSLIB0051;SYSLIB5005;xUnit1013 diff --git a/src/System.Windows.Forms.Primitives/tests/TestUtilities/System.Windows.Forms.Primitives.TestUtilities.csproj b/src/System.Windows.Forms.Primitives/tests/TestUtilities/System.Windows.Forms.Primitives.TestUtilities.csproj index 482994465a2..01eeadf6295 100644 --- a/src/System.Windows.Forms.Primitives/tests/TestUtilities/System.Windows.Forms.Primitives.TestUtilities.csproj +++ b/src/System.Windows.Forms.Primitives/tests/TestUtilities/System.Windows.Forms.Primitives.TestUtilities.csproj @@ -3,6 +3,10 @@ System.Windows.Forms.Primitives.TestUtilities true System + + $(NoWarn);SYSLIB5005 diff --git a/src/System.Windows.Forms/src/System.Windows.Forms.csproj b/src/System.Windows.Forms/src/System.Windows.Forms.csproj index b26df9ea0b8..813a53b6b37 100644 --- a/src/System.Windows.Forms/src/System.Windows.Forms.csproj +++ b/src/System.Windows.Forms/src/System.Windows.Forms.csproj @@ -11,6 +11,10 @@ See https://github.com/dotnet/winforms/issues/4649 --> $(NoWarn);IL2026;IL2050;IL2057;IL2062;IL2067;IL2070;IL2072;IL2075;IL2077;IL2080;IL2092;IL2093;IL2094;IL2096;IL2111;IL2055 + + $(NoWarn);SYSLIB5005 Resources\System\Windows\Forms\XPThemes.manifest true true diff --git a/src/System.Windows.Forms/tests/UnitTests/System.Windows.Forms.Tests.csproj b/src/System.Windows.Forms/tests/UnitTests/System.Windows.Forms.Tests.csproj index 106ff177239..23faa5b92b7 100644 --- a/src/System.Windows.Forms/tests/UnitTests/System.Windows.Forms.Tests.csproj +++ b/src/System.Windows.Forms/tests/UnitTests/System.Windows.Forms.Tests.csproj @@ -10,7 +10,12 @@ - $(NoWarn),1573,1591,1712,WFDEV001,SYSLIB0050,SYSLIB0051; + + $(NoWarn),1573,1591,1712,WFDEV001,SYSLIB0050,SYSLIB0051,SYSLIB5005