Last active
July 24, 2019 09:48
-
-
Save Dragod/9d750c5a8569eb62f39a83007a7bc00c to your computer and use it in GitHub Desktop.
Clean and Build unity with msbuild tools 2019, run IISExpress and open localhost on firefox. If it doesn't work please check folders path inside the batch. Visual Studio is not required to run this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
CD /D "C:\gitrepos\sd-unity-4-0" | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat" | |
msbuild htmlUnity.sln /t:clean | |
call "msbuild" | |
start firefox -devTools http://localhost:49797/index.aspx | |
CD /D "C:\Program Files (x86)\IIS Express" | |
iisexpress /path:C:\gitrepos\sd-unity-4-0\ /port:49797 /clr:v4.0 | |
CMD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment