From 4ecfda813923775484e06d9ac0380f2a2c1cd5bc Mon Sep 17 00:00:00 2001 From: Zheng Date: Fri, 6 Dec 2024 23:21:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AgentModule.cs | 2 +- .../PublishProfiles/ClickOnceProfile.pubxml | 42 +++++++++++++++++++ .../PublishProfiles/FolderProfile.pubxml | 13 ++++++ 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/ClickOnceProfile.pubxml create mode 100644 be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/FolderProfile.pubxml diff --git a/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/AgentModule.cs b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/AgentModule.cs index 9c1bc1d62..ef33dc6dd 100644 --- a/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/AgentModule.cs +++ b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/AgentModule.cs @@ -149,7 +149,7 @@ public class AgentModule : AbpModule public override void OnApplicationInitialization( ApplicationInitializationContext context) { - //context.AddBackgroundWorkerAsync(); + context.AddBackgroundWorkerAsync(); context.AddBackgroundWorkerAsync(); } } diff --git a/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/ClickOnceProfile.pubxml b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/ClickOnceProfile.pubxml new file mode 100644 index 000000000..c00cda636 --- /dev/null +++ b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/ClickOnceProfile.pubxml @@ -0,0 +1,42 @@ + + + + + 2 + 1.0.0.* + True + Release + False + true + True + Disk + True + False + True + False + Any CPU + bin\Release\net6.0\app.publish\ + bin\publish\ + ClickOnce + False + False + False + (无) + False + false + net6.0 + False + Foreground + False + Publish.html + True|2024-12-06T15:16:15.2109813Z; + + + + True + .NET 运行时 6.0.27 (x64) + + + \ No newline at end of file diff --git a/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/FolderProfile.pubxml b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 000000000..154e03532 --- /dev/null +++ b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Agent/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,13 @@ + + + + + Release + Any CPU + bin\Release\net6.0\publish\ + FileSystem + <_TargetId>Folder + + \ No newline at end of file