This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Support building with VS2019 Preview #22525
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
03e3fe4
Support building with VS2019 Preview
tannergooding b27682e
Fixing gen-buildsys-win to only set the architecture for the VS gener…
tannergooding 7c5137b
Refactoring Dev11/147911/fpcw.cpp so that it compiles under VS2019
tannergooding 3a782e6
Removing the remaining traces of VS2015 build support
tannergooding File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,8 @@ You must install several components to build the CoreCLR and CoreFX repos. These | |
## Visual Studio | ||
|
||
Visual Studio must be installed. Supported versions: | ||
- [Visual Studio 2015](https://www.visualstudio.com/vs/older-downloads/) (Community, Professional, Enterprise). The community version is completely free. | ||
- [Visual Studio 2017](https://www.visualstudio.com/downloads/) (Community, Professional, Enterprise). The community version is completely free. | ||
|
||
For Visual Studio 2015: | ||
* Ensure you have installed at least [Visual Studio 2015 Update 3](https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs). | ||
* Make sure that you install "VC++ Tools". By default, they will not be installed. | ||
* To build for Arm32, Make sure that you have the Windows SDK for Windows 10 installed (or selected to be installed as part of VS installation). To explicitly install Windows SDK, download it from here: [Windows SDK for Windows 10](https://developer.microsoft.com/en-us/windows/downloads) | ||
- [Visual Studio 2019 Preview](https://visualstudio.microsoft.com/vs/preview/) (Community, Professional, Enterprise). The community version is completely free. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should have been noted that the CMake version needs to be 3.14-rc for VS 2019. |
||
|
||
For Visual Studio 2017: | ||
* When doing a 'Workloads' based install, the following are the minimum requirements: | ||
|
@@ -50,7 +45,6 @@ For Visual Studio 2017: | |
* **Important:** You must have the `msdia120.dll` COM Library registered in order to build the repository. | ||
* This binary is registered by default when installing the "VC++ Tools" with Visual Studio 2015 | ||
* You can also manually register the binary by launching the "Developer Command Prompt for VS2017" with Administrative privileges and running `regsvr32.exe "%VSINSTALLDIR%\Common7\IDE\msdia120.dll"` | ||
* **Important:** By default, the build will attempt to use VS2015 as the toolset for the build. To build using VS2017 as your toolset, you must use the "Developer Command Prompt for VS2017". | ||
|
||
Visual Studio Express is not supported. | ||
|
||
|
@@ -75,7 +69,7 @@ any recent (2.4+) version of Python should work, including Python 3. | |
|
||
## Git | ||
|
||
For actual user operations, it is often more convenient to use the GIT features built into Visual Studio 2015. | ||
For actual user operations, it is often more convenient to use the GIT features built into Visual Studio. | ||
However the CoreCLR and the tests use the GIT command line utilities directly so you need to install them | ||
for these to work properly. You can get it from | ||
|
||
|
@@ -93,7 +87,7 @@ Powershell version must be 3.0 or higher. This should be the case for Windows 8 | |
|
||
## DotNet Core SDK | ||
While not strictly needed to build or test the .NET Core repository, having the .NET Core SDK installed lets you use the dotnet.exe command to run .NET Core applications in the 'normal' way. We use this in the | ||
[Using Your Build](../workflow/UsingYourBuild.md) instructions. Visual Studio 2015 (update 3) should have | ||
[Using Your Build](../workflow/UsingYourBuild.md) instructions. Visual Studio should have | ||
installed the .NET Core SDK, but in case it did not you can get it from the [Installing the .Net Core SDK](https://www.microsoft.com/net/core) page. | ||
|
||
## Adding to the default PATH variable | ||
|
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
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The exact workloads required should probably be figured out. It might be worth updating the VS2017 entries as well (as it specifies more than actually required in the latest release).