Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 788eabc

Browse files
committed
Merge pull request #50 from dotnet/terrajobst/cleanup-batch-file
Cleanup batch file
2 parents a14d18f + ef4e5ef commit 788eabc

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

build.cmd

+9-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ SETLOCAL
44

55
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
66
SET SOLUTION_PATH=%~dp0src\CodeFormatter.sln
7-
SET VS2015_BUILD_TOOLS_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
7+
SET BUILD_TOOLS_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
88

9-
IF NOT EXIST %VS2015_BUILD_TOOLS_PATH% (
10-
echo In order to build or run this tool you need either Visual Studio 2015 Preview or
11-
echo Microsoft Build Tools 2015 Preview tools installed.
9+
IF NOT EXIST %BUILD_TOOLS_PATH% (
10+
echo In order to build or run this tool you need either Visual Studio 2015 or
11+
echo Microsoft Build Tools 2015 tools installed.
12+
echo.
13+
echo Visit this page to download either:
14+
echo.
15+
echo http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs
1216
echo.
13-
echo Visit http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs
14-
echo to download either.
1517
goto :eof
1618
)
1719

@@ -26,4 +28,4 @@ IF EXIST "%~dp0src\packages" goto build
2628

2729
:build
2830

29-
"%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe" %SOLUTION_PATH% /p:OutDir="%~dp0bin " /nologo /m /v:m /flp:verbosity=normal %*
31+
%BUILD_TOOLS_PATH% %SOLUTION_PATH% /p:OutDir="%~dp0bin " /nologo /m /v:m /flp:verbosity=normal %*

0 commit comments

Comments
 (0)