From 9aebeb960504540b635242ab49fda3412b8f5992 Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Fri, 27 Jan 2023 10:46:05 -0800 Subject: [PATCH] Remove special casing of RemoteExecutor detection for Single File. --- src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs b/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs index 250784e35e0..99aa1d906c1 100644 --- a/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs +++ b/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs @@ -109,8 +109,6 @@ private static bool IsNetCore() => !RuntimeInformation.IsOSPlatform(OSPlatform.Create("WATCHOS")) && !RuntimeInformation.IsOSPlatform(OSPlatform.Create("BROWSER")) && !RuntimeInformation.IsOSPlatform(OSPlatform.Create("WASI")) && - // The current RemoteExecutor design is not compatible with single file - !string.IsNullOrEmpty(typeof(RemoteExecutor).Assembly.Location) && Environment.GetEnvironmentVariable("DOTNET_REMOTEEXECUTOR_SUPPORTED") != "0"; /// Invokes the method from this assembly in another process using the specified arguments.