From 9997c7d30f2d9576f70b9465e1b5797d2d8b2ba7 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Mon, 8 Jan 2024 15:12:12 -0800 Subject: [PATCH] NETSDK1206 warnings --- eng/targets/Imports.targets | 2 +- ....CodeAnalysis.Remote.ServiceHub.CoreComponents.arm64.csproj | 3 +++ ...ft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64.csproj | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/eng/targets/Imports.targets b/eng/targets/Imports.targets index 8080c0cde6260..d6a14c420ced6 100644 --- a/eng/targets/Imports.targets +++ b/eng/targets/Imports.targets @@ -48,7 +48,7 @@ true - $(MSBuildTreatWarningsAsMessages);NETSDK1206 + $(MSBuildWarningsAsMessages);NETSDK1206 diff --git a/src/Workspaces/Remote/ServiceHub.CoreComponents/arm64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.arm64.csproj b/src/Workspaces/Remote/ServiceHub.CoreComponents/arm64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.arm64.csproj index 9384bf95cdfd9..e7f35fb812759 100644 --- a/src/Workspaces/Remote/ServiceHub.CoreComponents/arm64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.arm64.csproj +++ b/src/Workspaces/Remote/ServiceHub.CoreComponents/arm64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.arm64.csproj @@ -6,6 +6,9 @@ $(NetVS) arm64 + + $(NoWarn);NETSDK1206 + $(MicrosoftNetCoreAppRuntimePackagesVersion) $(MicrosoftWindowsDesktopAppRuntimePackagesVersion) diff --git a/src/Workspaces/Remote/ServiceHub.CoreComponents/x64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64.csproj b/src/Workspaces/Remote/ServiceHub.CoreComponents/x64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64.csproj index 38febb40129c1..29c838734462c 100644 --- a/src/Workspaces/Remote/ServiceHub.CoreComponents/x64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64.csproj +++ b/src/Workspaces/Remote/ServiceHub.CoreComponents/x64/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.x64.csproj @@ -6,6 +6,9 @@ $(NetVS) x64 + + $(NoWarn);NETSDK1206 + $(MicrosoftNetCoreAppRuntimePackagesVersion) $(MicrosoftWindowsDesktopAppRuntimePackagesVersion)