Made trimmed false
This commit is contained in:
parent
3a964bbbcf
commit
93413b0fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ build_windows:
|
|||
& $dotnetExe build "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -v minimal
|
||||
# Produce a single-file, ready-to-run publish so downstream jobs only need the EXE.
|
||||
try {
|
||||
& $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -r win-x64 --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -o "imagecatalog\bin\$env:BUILD_CONFIG\net10.0-windows\publish" -v minimal
|
||||
& $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -r win-x64 --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=false -p:PublishReadyToRun=true -o "imagecatalog\bin\$env:BUILD_CONFIG\net10.0-windows\publish" -v minimal
|
||||
} catch {
|
||||
Write-Host "dotnet publish failed: $_"
|
||||
throw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue