Skip to content

Commit

Permalink
Close 57526
Browse files Browse the repository at this point in the history
  • Loading branch information
jcouv committed Jan 10, 2022
1 parent ab0c24f commit 3478295
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Compilers/Test/Core/ModuleInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ internal static void Initialize()
{
Trace.Listeners.Clear();
Trace.Listeners.Add(new ThrowingTraceListener());

// Make sure we load DSRN from the directory containing the unit tests and not from a runtime directory on .NET 5+.
Environment.SetEnvironmentVariable("MICROSOFT_DIASYMREADER_NATIVE_ALT_LOAD_PATH", Path.GetDirectoryName(typeof(ModuleInitializer).Assembly.Location));
Environment.SetEnvironmentVariable("MICROSOFT_DIASYMREADER_NATIVE_USE_ALT_LOAD_PATH_ONLY", "1");
}
}
}

0 comments on commit 3478295

Please sign in to comment.