From 9c87cf60bddd4dc154700c9a4374f41f1f40eca6 Mon Sep 17 00:00:00 2001 From: Daniel Plaisted Date: Thu, 5 Apr 2018 23:06:17 -0700 Subject: [PATCH] Disable multilevel lookup in more cases when running tests --- src/Tests/Microsoft.NET.TestFramework/TestContext.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tests/Microsoft.NET.TestFramework/TestContext.cs b/src/Tests/Microsoft.NET.TestFramework/TestContext.cs index b0401789bd66..a09b2750b410 100644 --- a/src/Tests/Microsoft.NET.TestFramework/TestContext.cs +++ b/src/Tests/Microsoft.NET.TestFramework/TestContext.cs @@ -65,6 +65,8 @@ public void AddTestEnvironmentVariables(SdkCommandSpec command) public static void Initialize(TestCommandLine commandLine) { + Environment.SetEnvironmentVariable("DOTNET_MULTILEVEL_LOOKUP", "0"); + TestContext testContext = new TestContext(); // This is dependent on the current artifacts layout: