Files
annotations/build/build_dotnet.cmd
T
Alex Bezdieniezhnykh f49c4e9d37 show created first
2025-05-05 09:50:49 +03:00

22 lines
589 B
Batchfile

pushd %~dp0..
echo Build .net app
dotnet build -c Release
cd Azaion.Suite
call postbuild.cmd Release
call upload-file %cd%\config.secured.json
call upload-file %cd%\config.system.json
dotnet publish -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=false -p:ForPublish=true --self-contained true
cd ..
rmdir dist /s /q
xcopy Azaion.Suite\bin\Release\net8.0-windows\win-x64\publish dist\ /s /e /q
del dist\config.json
move dist\config.production.json dist\config.json
mkdir dist\dummy
move dist\Azaion.Annotator.dll dist\dummy\
move dist\Azaion.Dataset.dll dist\dummy\
popd