Skip to content

Commit a079df7

Browse files
committed
Document Visual Studio 2015 support
1 parent b2cc30c commit a079df7

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

Documentation/building/windows-instructions.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ Visual Studio must be installed. Supported versions:
1515

1616
- [Visual Studio Community 2013](http://go.microsoft.com/fwlink/?LinkId=517284) - **Free** for Open Source development!
1717
- [Visual Studio 2013 Update 3](http://www.visualstudio.com/downloads/download-visual-studio-vs) or later (Pro, Premium, Ultimate)
18+
- [Visual Studio 2015](https://www.visualstudio.com/downloads/visual-studio-2015-downloads-vs) (Community, Professional, Enterprise)
1819

19-
Visual Studio Express is not supported. Visual Studio 2015 isn't supported yet (see [issue #30](https://github.com/dotnet/coreclr/issues/30)).
20+
Visual Studio Express is not supported.
2021

2122
**Known Issues**
2223

@@ -71,6 +72,8 @@ To build CoreCLR, run `build.cmd` from the root of the coreclr repository. This
7172
Product binaries are available at C:\git\coreclr\bin\Product\Windows_NT.x64.debug
7273
Test binaries are available at C:\git\coreclr\bin\tests\Windows_NT.x64.debug
7374

75+
**Note:** for building using Visual Studio 2015 the parameter `vs2015` should be added to the `build` command.
76+
7477
**build /?** will list supported parameters.
7578

7679
Check the build output.

build.cmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ goto CheckVS
9696
:CheckVS
9797
:: Check presence of VS
9898
if defined VS%__VSProductVersion%COMNTOOLS goto CheckVSExistence
99-
echo Visual Studio 2013 Community (free) is a pre-requisite to build this repository.
99+
echo Visual Studio 2013+ (Community is free) is a pre-requisite to build this repository.
100100
echo See: https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md#prerequisites
101101
exit /b 1
102102

103103
:CheckVSExistence
104104
:: Does VS 2013 or VS 2015 really exist?
105105
if exist "!VS%__VSProductVersion%COMNTOOLS!\..\IDE\devenv.exe" goto CheckMSBuild
106-
echo Visual Studio 2013 Community (free) is a pre-requisite to build this repository.
106+
echo Visual Studio 2013+ (Community is free) is a pre-requisite to build this repository.
107107
echo See: https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md#prerequisites
108108
exit /b 1
109109

@@ -142,7 +142,7 @@ at VS install location of previous version. Workaround is to copy DIA SDK folder
142142
of previous version to "%VSINSTALLDIR%" and then resume build.
143143
:: DIA SDK not included in Express editions
144144
echo Visual Studio 2013 Express does not include the DIA SDK. ^
145-
You need Visual Studio 2013 Community (free).
145+
You need Visual Studio 2013+ (Community is free).
146146
echo See: https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md#prerequisites
147147
exit /b 1
148148

tests/buildtest.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy RemoteSigned "&
8181

8282
:: Check presence of VS
8383
if defined VS%__VSProductVersion%COMNTOOLS goto CheckVSExistence
84-
echo Installation of VS 2013 is a pre-requisite to build this repository.
84+
echo Visual Studio 2013+ (Community is free) is a pre-requisite to build this repository.
8585
exit /b 1
8686

8787
:CheckVSExistence
8888
:: Does VS 2013 or VS 2015 really exist?
8989
if exist "!VS%__VSProductVersion%COMNTOOLS!\..\IDE\devenv.exe" goto CheckMSBuild
90-
echo Installation of VS 2013 is a pre-requisite to build this repository.
90+
echo Visual Studio 2013+ (Community is free) is a pre-requisite to build this repository.
9191
exit /b 1
9292

9393
:CheckMSBuild

tests/runtest.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ shift
3131

3232
:: Check presence of VS
3333
if defined VS%__VSProductVersion%COMNTOOLS goto CheckMSbuild
34-
echo Installation of VS 2013 is a pre-requisite to build this repository.
34+
echo InVisual Studio 2013+ (Community is free) is a pre-requisite to build this repository.
3535
exit /b 1
3636

3737
:CheckMSBuild

0 commit comments

Comments
 (0)