From 0367fc027e191b2ef09e8ef95bb083194239604e Mon Sep 17 00:00:00 2001 From: Aigio Liu Date: Thu, 7 Sep 2023 21:14:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20net35?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Commands/IDotNetPublishCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs b/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs index b47e43bbe..30dc2ba44 100644 --- a/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs +++ b/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs @@ -850,7 +850,7 @@ publish -c {0} -p:OutputType={1} -p:PublishDir=bin\{0}\Publish\win-any -p:Publis // return; //} - const string app_host_tfm = "net40"/*"net35"*/; // net35 在 Windows 10 LTSC 上即使 app.config 中配置了 4.x 兼容但依旧会打开设置窗口并且定位在可选功能 + const string app_host_tfm = "net35"; var configuration = PublishCommandArg.GetConfiguration(debug); string? arguments = null; bool isWindows = false;