From 195d485bcff912d6f1ed07c61696b093980d11ac Mon Sep 17 00:00:00 2001 From: Bernhard Richter Date: Tue, 14 Nov 2023 00:09:32 +0100 Subject: [PATCH] Run tests all tests with isolation context --- src/.vscode/tasks.json | 2 +- src/Dotnet.Script/Program.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/.vscode/tasks.json b/src/.vscode/tasks.json index e35e8bda..72cf34bd 100644 --- a/src/.vscode/tasks.json +++ b/src/.vscode/tasks.json @@ -46,7 +46,7 @@ "-c", "release", "-f", - "net7.0", + "net8.0", "${workspaceFolder}/Dotnet.Script.Tests/DotNet.Script.Tests.csproj" ], "problemMatcher": "$msCompile", diff --git a/src/Dotnet.Script/Program.cs b/src/Dotnet.Script/Program.cs index 06edc471..e458808a 100644 --- a/src/Dotnet.Script/Program.cs +++ b/src/Dotnet.Script/Program.cs @@ -234,8 +234,8 @@ private static int Wain(string[] args) } AssemblyLoadContext assemblyLoadContext = null; - if (isolatedLoadContext.HasValue()) - assemblyLoadContext = new ScriptAssemblyLoadContext(); + //if (isolatedLoadContext.HasValue()) + assemblyLoadContext = new ScriptAssemblyLoadContext(); if (scriptFile.HasValue) { @@ -260,7 +260,7 @@ private static int Wain(string[] args) var fileCommand = new ExecuteScriptCommand(ScriptConsole.Default, logFactory); var result = await fileCommand.Run(fileCommandOptions); if (Environment.ExitCode != 0) return Environment.ExitCode; - + return result; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy