Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SugarMGP committed Apr 16, 2022
2 parents 4e5695c + 8291692 commit b90bb6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -66,4 +66,4 @@ if ($buildX64)
if ($buildX86)
{
Build-SelfContained win-x86
}
}

0 comments on commit b90bb6a

Please sign in to comment.