OpenSim-Sasquatch/runprebuild.bat
2024-04-20 23:37:37 +01:00

22 lines
No EOL
700 B
Batchfile
Executable file

@echo OFF
copy bin\System.Drawing.Common.dll.win bin\System.Drawing.Common.dll
dotnet bin\prebuild.dll /target vs2022 /targetframework net8_0 /excludedir = "obj | bin" /file prebuild.xml
@echo Creating compile.bat
rem To compile in debug mode
@echo dotnet build --configuration Release OpenSim.sln > compile.bat
rem To compile in release mode comment line (add rem to start) above and uncomment next (remove rem)
rem @echo dotnet build --configuration Debug OpenSim.sln > compile.bat
:done
if exist "bin\addin-db-002" (
del /F/Q/S bin\addin-db-002 > NUL
rmdir /Q/S bin\addin-db-002
)
if exist "bin\addin-db-004" (
del /F/Q/S bin\addin-db-004 > NUL
rmdir /Q/S bin\addin-db-004
)