replace prebuild by dotnet version

This commit is contained in:
UbitUmarov 2022-10-09 20:10:33 +01:00
parent c510e29e14
commit 8b49ce4aaa
5 changed files with 16 additions and 4 deletions

Binary file not shown.

BIN
bin/prebuild.dll Normal file

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
"configProperties": {
"System.Runtime.TieredCompilation": false
}
}
}

View File

@ -1,6 +1,6 @@
@echo OFF
bin\Prebuild.exe /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
dotent bin\prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
@echo Creating compile.bat
rem To compile in debug mode

View File

@ -3,14 +3,14 @@
case "$1" in
'clean')
mono bin/Prebuild.exe /file prebuild.xml /clean
dotnet bin/prebuild.dll /file prebuild.xml /clean
;;
'autoclean')
echo y|mono bin/Prebuild.exe /file prebuild.xml /clean
echo y|dotnet bin/prebuild.dll /file prebuild.xml /clean
;;
@ -18,7 +18,7 @@ case "$1" in
*)
mono bin/Prebuild.exe /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
dotnet bin/prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
;;