From 597dc06b31110d3c04d5f248445617dadd5afee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=98=E9=9F=AC=20=E5=BC=A0?= Date: Tue, 26 Jan 2021 16:24:30 +0800 Subject: [PATCH] revert unexpected personal change --- Flow.Launcher/Flow.Launcher.csproj | 4 ++-- ...-SelfContained.pubxml => NetCore3.1-SelfContained.pubxml} | 2 +- .../Flow.Launcher.Plugin.Shell.csproj | 5 ++++- .../Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj | 5 ++++- Scripts/post_build.ps1 | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) rename Flow.Launcher/Properties/PublishProfiles/{Net5-SelfContained.pubxml => NetCore3.1-SelfContained.pubxml} (92%) diff --git a/Flow.Launcher/Flow.Launcher.csproj b/Flow.Launcher/Flow.Launcher.csproj index 56f0675d6..289a502d0 100644 --- a/Flow.Launcher/Flow.Launcher.csproj +++ b/Flow.Launcher/Flow.Launcher.csproj @@ -60,7 +60,7 @@ Designer PreserveNewest - + PreserveNewest @@ -78,7 +78,7 @@ - + all diff --git a/Flow.Launcher/Properties/PublishProfiles/Net5-SelfContained.pubxml b/Flow.Launcher/Properties/PublishProfiles/NetCore3.1-SelfContained.pubxml similarity index 92% rename from Flow.Launcher/Properties/PublishProfiles/Net5-SelfContained.pubxml rename to Flow.Launcher/Properties/PublishProfiles/NetCore3.1-SelfContained.pubxml index e98dba988..2794a0cea 100644 --- a/Flow.Launcher/Properties/PublishProfiles/Net5-SelfContained.pubxml +++ b/Flow.Launcher/Properties/PublishProfiles/NetCore3.1-SelfContained.pubxml @@ -12,7 +12,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. win-x64 true False - True + False False \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Shell/Flow.Launcher.Plugin.Shell.csproj b/Plugins/Flow.Launcher.Plugin.Shell/Flow.Launcher.Plugin.Shell.csproj index 6e72ebbe4..0e83427c0 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/Flow.Launcher.Plugin.Shell.csproj +++ b/Plugins/Flow.Launcher.Plugin.Shell/Flow.Launcher.Plugin.Shell.csproj @@ -8,7 +8,6 @@ Flow.Launcher.Plugin.Shell Flow.Launcher.Plugin.Shell true - true true false false @@ -55,6 +54,10 @@ PreserveNewest + + MSBuild:Compile + Designer + diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj b/Plugins/Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj index 88a23951f..aef781693 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj +++ b/Plugins/Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj @@ -8,7 +8,6 @@ Flow.Launcher.Plugin.Sys Flow.Launcher.Plugin.Sys true - true true false false @@ -49,6 +48,10 @@ PreserveNewest + + MSBuild:Compile + Designer + diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 58d5c6a4e..b08fac8f6 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -90,7 +90,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) { function Publish-Self-Contained ($p) { $csproj = Join-Path "$p" "Flow.Launcher/Flow.Launcher.csproj" -Resolve - $profile = Join-Path "$p" "Flow.Launcher/Properties/PublishProfiles/Net5-SelfContained.pubxml" -Resolve + $profile = Join-Path "$p" "Flow.Launcher/Properties/PublishProfiles/NetCore3.1-SelfContained.pubxml" -Resolve # we call dotnet publish on the main project. # The other projects should have been built in Release at this point.