Skip to content

Commit

Permalink
Add AnyCPU publish to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Klocman committed Aug 28, 2024
1 parent b3d917f commit efc28f2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion publish.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

rem Release Debug
set config=Release

Expand Down Expand Up @@ -28,6 +27,17 @@ rmdir /q /s bin\launcher

IF %config%==Release (del /f /s /q "%publish%\*.pdb")


rem --- AnyCPU --------------------------------------------------

set target=%CD%\bin\publish-AnyCPU-net6.0

rmdir /q /s "%target%"
if errorlevel 1 (pause)

%msbuild% "source\BulkCrapUninstaller.sln" /m /p:filealignment=512 /t:Publish /p:DeployOnBuild=true /p:PublishSingleFile=False /p:SelfContained=False /p:PublishProtocol=FileSystem /p:Configuration=%config% /p:Platform="Any CPU" /p:TargetFrameworks=net6.0-windows10.0.18362.0 /p:PublishDir="%target%" /p:PublishReadyToRun=false /p:PublishTrimmed=False /verbosity:minimal


pause
exit

Expand Down

0 comments on commit efc28f2

Please sign in to comment.