@echo off
set DOTNET_EnableWriteXorExecute=0
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
msbuild RobloxWrapper\RobloxWrapper.sln /p:Configuration=Release
dotnet publish --configuration Release -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:CopyOutputSymbolsToPublishDirectory=false --self-contained
copy .\RobloxLegacy\bin\Release\net8.0-windows\win-x64\publish\RobloxLegacy.exe .\
pause