From b81e55a4438da6721b684b7488fbd192a4e0eb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Thu, 25 Aug 2022 14:13:33 +0200 Subject: [PATCH] Remove TargetLatestRuntimePatch properties (#3969) --- playground/MSTest1/MSTest1.csproj | 1 - .../TestPlatform.Playground/TestPlatform.Playground.csproj | 1 - scripts/build.sh | 4 +--- scripts/common.lib.ps1 | 3 --- src/AttachVS/AttachVS.csproj | 1 - .../DumpMinitool.arm64/DumpMinitool.arm64.csproj | 1 - src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj | 1 - src/DataCollectors/DumpMinitool/DumpMinitool.csproj | 1 - src/testhost.arm64/testhost.arm64.csproj | 1 - src/testhost.x86/testhost.x86.csproj | 1 - src/testhost/testhost.csproj | 1 - 11 files changed, 1 insertion(+), 15 deletions(-) diff --git a/playground/MSTest1/MSTest1.csproj b/playground/MSTest1/MSTest1.csproj index 1ffb127333..876f6080b6 100644 --- a/playground/MSTest1/MSTest1.csproj +++ b/playground/MSTest1/MSTest1.csproj @@ -1,7 +1,6 @@ ..\..\ - true diff --git a/playground/TestPlatform.Playground/TestPlatform.Playground.csproj b/playground/TestPlatform.Playground/TestPlatform.Playground.csproj index ea5ece9750..da1ab55244 100644 --- a/playground/TestPlatform.Playground/TestPlatform.Playground.csproj +++ b/playground/TestPlatform.Playground/TestPlatform.Playground.csproj @@ -1,7 +1,6 @@ ..\..\ - true $(MSBuildWarningsAsMessages);MSB3270;MSB3276 diff --git a/scripts/build.sh b/scripts/build.sh index f5dcb92ead..aa92fb0d26 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -215,9 +215,7 @@ function install_cli() return 1 fi chmod u+x $install_script - # Versions are determined by the installed dotnet sdk from "tools\dotnet\sdk\\Microsoft.NETCoreSdk.BundledVersions.props" - # from LatestVersion entries, because our projects use True. - # + # Runtime versions installed usually need to be kept in sync with the ones installed in common.lib.ps1 $install_script --runtime dotnet --install-dir "$TP_DOTNET_DIR" --no-path --architecture x64 --channel "2.1" --version "2.1.30" $install_script --runtime dotnet --install-dir "$TP_DOTNET_DIR" --no-path --architecture x64 --channel "3.1" --version "3.1.27" diff --git a/scripts/common.lib.ps1 b/scripts/common.lib.ps1 index 4257dda06d..31dbefff87 100644 --- a/scripts/common.lib.ps1 +++ b/scripts/common.lib.ps1 @@ -105,9 +105,6 @@ function Install-DotNetCli $dotnetInstallPath = Join-Path $env:TP_TOOLS_DIR "dotnet" New-Item -ItemType directory -Path $dotnetInstallPath -Force | Out-Null - # Versions are determined by the installed dotnet sdk from "tools\dotnet\sdk\\Microsoft.NETCoreSdk.BundledVersions.props" - # from LatestVersion entries, because our projects use True. - # # Runtime versions installed usually need to be kept in sync with the ones installed in build.sh & $dotnetInstallScript -InstallDir "$dotnetInstallPath" -Runtime 'dotnet' -Channel '2.1' -Architecture x64 -NoPath -Version '2.1.30' & $dotnetInstallScript -InstallDir "$dotnetInstallPath" -Runtime 'dotnet' -Channel '3.1' -Architecture x64 -NoPath -Version '3.1.27' diff --git a/src/AttachVS/AttachVS.csproj b/src/AttachVS/AttachVS.csproj index 37fcc745f1..040d0e7abc 100644 --- a/src/AttachVS/AttachVS.csproj +++ b/src/AttachVS/AttachVS.csproj @@ -1,7 +1,6 @@ ..\..\ - true diff --git a/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj b/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj index d206b4ff00..78857ecb68 100644 --- a/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj +++ b/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj @@ -2,7 +2,6 @@ ..\..\..\ - true diff --git a/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj b/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj index a7ff13ab40..3e2ae466ae 100644 --- a/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj +++ b/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj @@ -2,7 +2,6 @@ ..\..\..\ - true diff --git a/src/DataCollectors/DumpMinitool/DumpMinitool.csproj b/src/DataCollectors/DumpMinitool/DumpMinitool.csproj index 61b77b74af..c0bbbe14f2 100644 --- a/src/DataCollectors/DumpMinitool/DumpMinitool.csproj +++ b/src/DataCollectors/DumpMinitool/DumpMinitool.csproj @@ -2,7 +2,6 @@ ..\..\..\ - true diff --git a/src/testhost.arm64/testhost.arm64.csproj b/src/testhost.arm64/testhost.arm64.csproj index a6f863b722..d5ec8961c1 100644 --- a/src/testhost.arm64/testhost.arm64.csproj +++ b/src/testhost.arm64/testhost.arm64.csproj @@ -2,7 +2,6 @@ ..\..\ - true $(MSBuildWarningsAsMessages);MSB3270;MSB3276 diff --git a/src/testhost.x86/testhost.x86.csproj b/src/testhost.x86/testhost.x86.csproj index 440075d394..a9c4b6b7b6 100644 --- a/src/testhost.x86/testhost.x86.csproj +++ b/src/testhost.x86/testhost.x86.csproj @@ -2,7 +2,6 @@ ..\..\ - true $(MSBuildWarningsAsMessages);MSB3270;MSB3276 diff --git a/src/testhost/testhost.csproj b/src/testhost/testhost.csproj index 01d3621971..a1dd931da3 100644 --- a/src/testhost/testhost.csproj +++ b/src/testhost/testhost.csproj @@ -2,7 +2,6 @@ ..\..\ - true $(MSBuildWarningsAsMessages);MSB3270;MSB3276