mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
do copy it before running prebuild
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
@echo OFF
|
||||
|
||||
copy bin\System.Drawing.Common.dll.win bin\System.Drawing.Common.dll
|
||||
|
||||
dotnet bin\prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
|
||||
|
||||
@echo Creating compile.bat
|
||||
@@ -8,7 +10,7 @@ rem To compile in debug mode
|
||||
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
|
||||
copy bin\System.Drawing.Common.dll.win bin\System.Drawing.Common.dll
|
||||
|
||||
|
||||
if exist "bin\addin-db-002" (
|
||||
del /F/Q/S bin\addin-db-002 > NUL
|
||||
|
||||
@@ -18,10 +18,10 @@ case "$1" in
|
||||
|
||||
*)
|
||||
|
||||
cp bin/System.Drawing.Common.dll.linux bin/System.Drawing.Common.dll
|
||||
dotnet bin/prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
|
||||
echo "dotnet build -c Release OpenSim.sln" > compile.sh
|
||||
chmod +x compile.sh
|
||||
cp bin/System.Drawing.Common.dll.linux bin/System.Drawing.Common.dll
|
||||
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user