Skip to content

Commit 056901d

Browse files
committed
dotnet-script now uses full assembly isolation for script file execution.
1 parent aecc8d6 commit 056901d

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/Dotnet.Script/IsolatedAssemblyLoadContext.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/Dotnet.Script/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private static int Wain(string[] args)
247247
nocache.HasValue()
248248
)
249249
{
250-
AssemblyLoadContext = new IsolatedAssemblyLoadContext()
250+
AssemblyLoadContext = new ScriptAssemblyLoadContext()
251251
};
252252

253253
var fileCommand = new ExecuteScriptCommand(ScriptConsole.Default, logFactory);

0 commit comments

Comments
 (0)