Skip to content

Commit 195d485

Browse files
committed
Run tests all tests with isolation context
1 parent 14e0ca7 commit 195d485

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"-c",
4747
"release",
4848
"-f",
49-
"net7.0",
49+
"net8.0",
5050
"${workspaceFolder}/Dotnet.Script.Tests/DotNet.Script.Tests.csproj"
5151
],
5252
"problemMatcher": "$msCompile",

src/Dotnet.Script/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ private static int Wain(string[] args)
234234
}
235235

236236
AssemblyLoadContext assemblyLoadContext = null;
237-
if (isolatedLoadContext.HasValue())
238-
assemblyLoadContext = new ScriptAssemblyLoadContext();
237+
//if (isolatedLoadContext.HasValue())
238+
assemblyLoadContext = new ScriptAssemblyLoadContext();
239239

240240
if (scriptFile.HasValue)
241241
{
@@ -260,7 +260,7 @@ private static int Wain(string[] args)
260260
var fileCommand = new ExecuteScriptCommand(ScriptConsole.Default, logFactory);
261261
var result = await fileCommand.Run<int, CommandLineScriptGlobals>(fileCommandOptions);
262262
if (Environment.ExitCode != 0) return Environment.ExitCode;
263-
263+
264264
return result;
265265

266266
}

0 commit comments

Comments
 (0)