From 82916920dbc9a0d06f46586a4c2990b26b34ec3e Mon Sep 17 00:00:00 2001 From: SugarMGP <2350745751@qq.com> Date: Sat, 16 Apr 2022 21:56:33 +0800 Subject: [PATCH] Disable trimming --- build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index 8132eb0..a29da89 100644 --- a/build.ps1 +++ b/build.ps1 @@ -43,7 +43,7 @@ function Build-SelfContained Remove-Item $publishDir -Recurse -Force -Confirm:$false -ErrorAction Ignore - dotnet publish -c $configuration -f $net_tfm -r $rid --self-contained true -p:PublishTrimmed=true $proj_path + dotnet publish -c $configuration -f $net_tfm -r $rid --self-contained true -p:PublishTrimmed=false $proj_path if ($LASTEXITCODE) { exit $LASTEXITCODE } & $dllpatcher_exe $publishDir\$exe bin @@ -66,4 +66,4 @@ if ($buildX64) if ($buildX86) { Build-SelfContained win-x86 -} \ No newline at end of file +}