Created
December 10, 2012 09:53
-
-
Save kevinblake/4249668 to your computer and use it in GitHub Desktop.
Run .NET solution without Visual Studio
This file contains 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
SET PORT=8086 | |
SET SOLUTIONNAME=VS.Solution.Filename.sln | |
SET WEBDIRECTORY=VS.Solution.Web.WorkingDirectory | |
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild %CD%\%SOLUTIONNAME% | |
start "IIS Express %PORT% (%SOLUTIONNAME%)" "%PROGRAMFILES%\IIS Express\iisexpress" /path:%CD%\%WEBDIRECTORY% /port:%PORT% | |
start "" "http://localhost:%PORT%/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment