diff --git a/EnvelopeGenerator.Server/publish.bat b/EnvelopeGenerator.Server/publish.bat index bbbb7edd..90abf327 100644 --- a/EnvelopeGenerator.Server/publish.bat +++ b/EnvelopeGenerator.Server/publish.bat @@ -37,7 +37,7 @@ set "OUTPUT=M:\App&Service\0 DD - Smart UP\signFLOW\Server\net8\%VERSION%" echo [0/3] Resolved build parameters echo Project : %PROJECT% echo Version : %VERSION% -echo Output : %OUTPUT% +echo Output : !OUTPUT! echo RID : %RID% echo Framework: %FRAMEWORK% echo. @@ -45,7 +45,7 @@ echo. echo [1/3] Cleaning previous publish output... if exist "%OUTPUT%" ( rmdir /s /q "%OUTPUT%" - echo Removed: %OUTPUT% + echo Removed: !OUTPUT! ) else ( echo Nothing to clean. ) @@ -59,6 +59,8 @@ dotnet publish "%PROJECT%" ^ -f %FRAMEWORK% ^ --self-contained true ^ --runtime %RID% ^ + -p:WasmBuildNative=true ^ + -m:4 ^ -o "%OUTPUT%" if %ERRORLEVEL% neq 0 (