From a472ddba737dd7f962d68f0938a35c16e88ce928 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=86=B0=E7=B3=96XH?=
<76904365+bingtangxh@users.noreply.github.com>
Date: Thu, 26 Mar 2026 20:11:24 +0800
Subject: [PATCH] Set PlatformTarget to AnyCPU and add publish
Change PlatformTarget from x86 to AnyCPU across solution and projects (Launch, Manager, ModernNotice, Reader) so builds target AnyCPU. Add ClickOnce/publishing properties to Manager.csproj (PublishUrl, Install, Update settings, ApplicationVersion/Revision, BootstrapperEnabled, etc.) and include a BootstrapperPackage entry for .NET Framework 3.5 SP1. These changes prepare the projects for AnyCPU builds and configure Manager for deployment/publishing.
---
AppInstallerReset.sln | 4 ++--
Launch/Launch.csproj | 2 +-
Manager/Manager.csproj | 26 ++++++++++++++++++++++++--
ModernNotice/ModernNotice.csproj | 2 +-
Reader/Reader.csproj | 2 +-
5 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/AppInstallerReset.sln b/AppInstallerReset.sln
index 792d8e0..c5b7718 100644
--- a/AppInstallerReset.sln
+++ b/AppInstallerReset.sln
@@ -195,8 +195,8 @@ Global
{BD681A4F-EB60-4BB8-90B5-65968FC7DA59}.Debug|x86.Build.0 = Debug|x86
{BD681A4F-EB60-4BB8-90B5-65968FC7DA59}.Release|ARM.ActiveCfg = Release|Any CPU
{BD681A4F-EB60-4BB8-90B5-65968FC7DA59}.Release|ARM.Build.0 = Release|Any CPU
- {BD681A4F-EB60-4BB8-90B5-65968FC7DA59}.Release|x86.ActiveCfg = Release|x86
- {BD681A4F-EB60-4BB8-90B5-65968FC7DA59}.Release|x86.Build.0 = Release|x86
+ {BD681A4F-EB60-4BB8-90B5-65968FC7DA59}.Release|x86.ActiveCfg = Release|Any CPU
+ {BD681A4F-EB60-4BB8-90B5-65968FC7DA59}.Release|x86.Build.0 = Release|Any CPU
{FFD3FD52-37A8-4F43-883C-DE8D996CB0E0}.Debug|ARM.ActiveCfg = Debug|Any CPU
{FFD3FD52-37A8-4F43-883C-DE8D996CB0E0}.Debug|ARM.Build.0 = Debug|Any CPU
{FFD3FD52-37A8-4F43-883C-DE8D996CB0E0}.Debug|x86.ActiveCfg = Debug|Any CPU
diff --git a/Launch/Launch.csproj b/Launch/Launch.csproj
index b9be413..bd8ba08 100644
--- a/Launch/Launch.csproj
+++ b/Launch/Launch.csproj
@@ -23,7 +23,7 @@
4
- x86
+ AnyCPU
pdbonly
true
..\Release\
diff --git a/Manager/Manager.csproj b/Manager/Manager.csproj
index f97d0c5..4241a0b 100644
--- a/Manager/Manager.csproj
+++ b/Manager/Manager.csproj
@@ -11,9 +11,24 @@
Manager
v4.0
512
+ publish\
+ true
+ Disk
+ false
+ Foreground
+ 7
+ Days
+ false
+ false
+ true
+ 0
+ 1.0.0.%2a
+ false
+ false
+ true
- x86
+ AnyCPU
true
full
false
@@ -23,7 +38,7 @@
4
- x86
+ AnyCPU
pdbonly
true
..\Release\
@@ -175,6 +190,13 @@
+
+
+ False
+ .NET Framework 3.5 SP1
+ false
+
+