Self-Compile

 avatar
unknown
batchfile
a year ago
444 B
9
Indexable
// 2>nul||@goto :batch

/*

:batch

setlocal

::find csc.exe set "esc="

for /r "SystemRoot\Microsoft.NET\Framework\" %%# in ("*esc.exe") do set "csc=884"

if not exist "esc!" (
echo no .net framework installed exit /b 10

if not exist "&~nO.exe" (
call Scsc% /nologo /warn: 0 /out: "g~nO.exe" "g~dpsfnxo" || 
( exit /b 'errorlevel% )

§~nO. exe &*

endlocal & exit /b Serrorlevel%

/*

#region C# Code Goes Here

//code to compile

#endregion
Editor is loading...