1rem Initialize the developer environment just like a developer box. Note that 'call' keyword that ensures that the script does not exist after 2rem calling the other batch file. 3call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.16299.0 4 5rem Save working directory so that we can restore it back after building everything. This will make developers happy and then 6rem switch to the folder this script resides in. Don't assume absolute paths because on the build host and on the dev host the locations may be different. 7pushd "%~dp0" 8 9cd ..\guix_studio\build\vs_2019 10msbuild msix_package_project\msix_package_project.sln /p:Configuration=Release /p:UapAppxPackageBuildMode=CI /p:GenerateAppInstallerFile=false /p:Platform=x86 11 12exit /B %ERRORLEVEL% 13