Skip to content

Commit

Permalink
Merge pull request #309 from Microsoft/dnduffy/UpdatedBuildCommandFiles
Browse files Browse the repository at this point in the history
Updated VS version and added check for existing path entry.
  • Loading branch information
dnduffy authored Sep 14, 2016
2 parents 375c53e + 4b988ad commit eba9a7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions buildDebug.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@echo off

call "%VS120COMNTOOLS%\VsDevCmd.bat"
call "%VS140COMNTOOLS%\VsDevCmd.bat"

SET PATH=%PATH%;%systemdrive%\Windows\Microsoft.NET\Framework\v4.0.30319\;
SET dotNetPath=%systemdrive%\Windows\Microsoft.NET\Framework\v4.0.30319\;
IF NOT "x!PATH:%dotNetPath%=!"=="x%PATH%" SET PATH=%PATH%;%dotNetPath%
SET ProjectName=Msbuild.All

SET Configuration=Debug
Expand Down
5 changes: 3 additions & 2 deletions buildRelease.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@echo off

call "%VS120COMNTOOLS%\VsDevCmd.bat"
call "%VS140COMNTOOLS%\VsDevCmd.bat"

SET PATH=%PATH%;%systemdrive%\Windows\Microsoft.NET\Framework\v4.0.30319\;
SET dotNetPath=%systemdrive%\Windows\Microsoft.NET\Framework\v4.0.30319\;
IF NOT "x!PATH:%dotNetPath%=!"=="x%PATH%" SET PATH=%PATH%;%dotNetPath%
SET ProjectName=Msbuild.All

SET Configuration=Release
Expand Down

0 comments on commit eba9a7e

Please sign in to comment.