Skip to content

Commit a2c7182

Browse files
committed
Set ASPNET_RUNTIME_PATH for helix
1 parent 6ca7bad commit a2c7182

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eng/helix/content/RunTests/TestRunner.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ public async Task<bool> InstallAspNetAppIfNeededAsync()
9696
{
9797
var appRuntimePath = $"{Options.DotnetRoot}/shared/Microsoft.AspNetCore.App/{Options.RuntimeVersion}";
9898
Console.WriteLine($"Found Microsoft.AspNetCore.App/, copying to {appRuntimePath}");
99+
Console.WriteLine($"Set ASPNET_RUNTIME_PATH: {appRuntimePath}");
100+
EnvironmentVariables.Add("ASPNET_RUNTIME_PATH", appRuntimePath);
99101
foreach (var file in Directory.EnumerateFiles("Microsoft.AspNetCore.App", "*.*", SearchOption.AllDirectories))
100102
{
101103
File.Copy(file, Path.Combine(appRuntimePath, file), overwrite: true);

0 commit comments

Comments
 (0)