Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge in 'release/3.1' changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnet-bot committed Nov 16, 2022
2 parents fd23be0 + 2e0ae6d commit f94bb2c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ private CommandResult RunTest(Func<RuntimeConfig, RuntimeConfig> runtimeConfig)
SharedState.FrameworkReferenceApp,
new TestSettings()
.WithRuntimeConfigCustomizer(runtimeConfig)
.WithEnvironment(Constants.TestOnlyEnvironmentVariables.GloballyRegisteredPath, SharedState.DotNetGlobalHive.BinPath),
.WithEnvironment(Constants.TestOnlyEnvironmentVariables.GloballyRegisteredPath, SharedState.DotNetGlobalHive.BinPath)
.WithEnvironment( // Redirect the default install location to an invalid location so that a machine-wide install is not used
Constants.TestOnlyEnvironmentVariables.DefaultInstallPath,
System.IO.Path.Combine(SharedState.DotNetMainHive.BinPath, "invalid")),
// Must enable multi-level lookup otherwise multiple hives are not enabled
multiLevelLookup: true);
}
Expand Down

0 comments on commit f94bb2c

Please sign in to comment.