@echo off
rem Builds desktop\bootleg\bootleg-do-not-click.exe with the C# compiler included in Windows (.NET Framework 4).
setlocal
set "CSC=%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\csc.exe"
if not exist "%CSC%" set "CSC=%WINDIR%\Microsoft.NET\Framework\v4.0.30319\csc.exe"
"%CSC%" /nologo /optimize+ /codepage:65001 /target:exe /platform:anycpu /reference:System.Web.Extensions.dll /out:"%~dp0bootleg-do-not-click.exe" "%~dp0Bootleg.cs"
