From 0cf7868b6e842f472e61cb58cb0df38b1e5818bc Mon Sep 17 00:00:00 2001 From: Rui Marinho Date: Mon, 19 Feb 2024 23:36:39 +0000 Subject: [PATCH] [ci] Remove ForceNet8Current --- eng/cake/dotnet.cake | 1 - .../Microsoft.Maui.IntegrationTests/Utilities/DotnetInternal.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/eng/cake/dotnet.cake b/eng/cake/dotnet.cake index 45fdf03a62e6..06c442dc6845 100644 --- a/eng/cake/dotnet.cake +++ b/eng/cake/dotnet.cake @@ -579,7 +579,6 @@ void SetDotNetEnvironmentVariables(string dotnetDir = null) SetEnvironmentVariable("DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR", dotnet); SetEnvironmentVariable("DOTNET_MULTILEVEL_LOOKUP", "0"); SetEnvironmentVariable("MSBuildEnableWorkloadResolver", "true"); - SetEnvironmentVariable("ForceNet8Current", "true"); SetEnvironmentVariable("PATH", dotnet, prepend: true); // Get "full" .binlog in Project System Tools diff --git a/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/DotnetInternal.cs b/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/DotnetInternal.cs index c69a2a897b34..08326e266c69 100644 --- a/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/DotnetInternal.cs +++ b/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/DotnetInternal.cs @@ -108,7 +108,6 @@ public static string RunForOutput(string command, string args, out int exitCode, var pinfo = new ProcessStartInfo(DotnetTool, $"{command} {args}"); pinfo.EnvironmentVariables["DOTNET_MULTILEVEL_LOOKUP"] = "0"; pinfo.EnvironmentVariables["DOTNET_ROOT"] = DotnetRoot; - pinfo.EnvironmentVariables["ForceNet8Current"] = "true"; return ToolRunner.Run(pinfo, out exitCode, timeoutInSeconds: timeoutInSeconds); }