Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanner Gooding <tannergooding@users.noreply.github.com>2017-03-04 21:00:04 +0300
committerDan Moseley <danmose@microsoft.com>2017-03-04 21:00:04 +0300
commit01af975ff591926bc8e3311d8ae82bc6a577fd04 (patch)
treecb4f5ec20cc3f308d731f376dd86e593ed5bb80c /run.cmd
parentb70e5d1d7485b26dfc305597148bb2b4e11f3741 (diff)
Updating the build scripts to support VS2017. (#16710)
Diffstat (limited to 'run.cmd')
-rw-r--r--run.cmd7
1 files changed, 5 insertions, 2 deletions
diff --git a/run.cmd b/run.cmd
index 6079be6905..68f3c20989 100644
--- a/run.cmd
+++ b/run.cmd
@@ -2,11 +2,14 @@
setlocal
if not defined VisualStudioVersion (
- if defined VS140COMNTOOLS (
+ if defined VS150COMNTOOLS (
+ call "%VS150COMNTOOLS%\VsDevCmd.bat"
+ goto :Run
+ ) else if defined VS140COMNTOOLS (
call "%VS140COMNTOOLS%\VsDevCmd.bat"
goto :Run
)
- echo Error: Visual Studio 2015 required.
+ echo Error: Visual Studio 2015 or 2017 required.
echo Please see https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/developer-guide.md for build instructions.
exit /b 1
)