From a54d2c5b631a6d63e6b1cbe01c224e6d6dd69d40 Mon Sep 17 00:00:00 2001 From: Ivan Bondarev Date: Wed, 3 May 2023 20:52:24 +0200 Subject: [PATCH] platformtarget native: cmd window for dotnet publish --- NETGenerator/NETGenerator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NETGenerator/NETGenerator.cs b/NETGenerator/NETGenerator.cs index 112c30a7b..8fcf8c784 100644 --- a/NETGenerator/NETGenerator.cs +++ b/NETGenerator/NETGenerator.cs @@ -588,8 +588,8 @@ namespace PascalABCCompiler.NETGenerator string conf = "Debug"; // if (comp_opt.dbg_attrs == DebugAttributes.Release) conf = "Release"; - p.StartInfo.CreateNoWindow = true; - p.StartInfo.UseShellExecute = false; + p.StartInfo.CreateNoWindow = false; + p.StartInfo.UseShellExecute = true; p.StartInfo.Arguments = "publish -f " + framework + " --runtime " + runtime + " -c " + conf + " --self-contained true " + csproj; p.Start(); p.WaitForExit();