Skip to content

Instantly share code, notes, and snippets.

@Dragod
Created February 21, 2019 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dragod/0694878aa1c023dae55b6490992cef5c to your computer and use it in GitHub Desktop.
Save Dragod/0694878aa1c023dae55b6490992cef5c to your computer and use it in GitHub Desktop.
Build unity with msbuild, run IISExpress and open localhost on firefox. If it doesn't work please check folders path inside the batch and make sure you got installed vs 2017
@ECHO OFF
CD /D "C:\gitrepos\sd-unity-4-0"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
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
@Dragod
Copy link
Author

Dragod commented Feb 22, 2019

Need vs2017 and IISExpress for this to work

@Dragod
Copy link
Author

Dragod commented Apr 29, 2019

just installing msbuild tool will work fine without vs studio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment