From 626d45f1f33c4da9346f373ba11a3d4e3bee03fa Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Mon, 21 Nov 2022 13:55:36 -0700 Subject: [PATCH] A better way to fix the MSBuild RAR warnings --- Directory.Packages.props | 1 + .../Microsoft.VisualStudio.Threading.csproj | 7 +++---- .../Microsoft.VisualStudio.Threading.Tests.csproj | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 330f8e822..8b5fb7e8e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -29,6 +29,7 @@ + diff --git a/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj b/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj index 8ceaf82ae..d2074df5d 100644 --- a/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj +++ b/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj @@ -7,9 +7,6 @@ Threading Async Lock Synchronization Threadsafe true - - - $(NoWarn);MSB3277 $(TargetFrameworks);net6.0-windows @@ -54,7 +51,9 @@ - + diff --git a/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj b/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj index 0545e87fb..625937518 100644 --- a/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj +++ b/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj @@ -8,9 +8,6 @@ true $(DefineConstants);ISOLATED_TEST_SUPPORT - - - $(NoWarn);MSB3277 $(TargetFrameworks);net472;net6.0-windows @@ -33,6 +30,7 @@ +