You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These changes allow for ML.NET to be built from source by VS2019 (dotnet#3742)
* These changes allow for ML.NET to be built from source by VS2019
* Updates to files as per comments on pull request
* Add support for x86 since VS 2019 project generator doesn't default to
x86 anymore
Copy file name to clipboardExpand all lines: docs/building/windows-instructions.md
+9-7
Original file line number
Diff line number
Diff line change
@@ -5,35 +5,35 @@ You can build ML.NET either via the command line or by using Visual Studio.
5
5
6
6
## Required Software
7
7
8
-
1.**[Visual Studio 2017](https://www.visualstudio.com/downloads/) (Community, Professional, Enterprise)** The Community version is completely free. The below build instructions were verified for VS 15.8.0 and higher.
8
+
1.**[Visual Studio 2019 / Visual Studio 2017](https://www.visualstudio.com/downloads/) (Community, Professional, Enterprise)** The Community version is completely free. The below build instructions were verified for VS 15.8.0 and higher.
9
9
2.**[CMake](https://cmake.org/)** must be installed from [the CMake download page](https://cmake.org/download/#latest) and added to your path.
10
10
11
-
### Visual Studio 2017 Installation
11
+
### Visual Studio 2019 / Visual Studio 2017 Installation
12
12
We have successfully verified the below build instructions for Visual Studio version 15.8.0 and higher.
13
13
14
-
#### Visual Studio 2017 - 'Workloads' based install
14
+
#### Visual Studio 2019 / Visual Studio 2017 - 'Workloads' based install
15
15
16
16
The following are the minimum requirements:
17
17
* .NET desktop development
18
18
* All Required Components
19
19
* .NET Framework 4-4.6 Development Tools
20
20
* Desktop development with C++
21
21
* All Required Components
22
-
* VC++ 2017 v141 Toolset (x86, x64)
22
+
* VC++ 2019 v142 Toolset (x86, x64) for Visual Studio 2019 or VC++ 2017 v141 Toolset (x86, x64) for Visual Studio 2017
23
23
* Windows 8.1 SDK and UCRT SDK
24
24
* .NET Core cross-platform development
25
25
* All Required Components
26
26
27
27
Note: If you have both VS 2017 and 2015 installed, you need to copy DIA SDK directory from VS 2015 installation into VS 2017 (VS installer bug).
28
28
29
-
#### Visual Studio 2017 - 'Individual components' based install
29
+
#### Visual Studio 2019 / Visual Studio 2017 - 'Individual components' based install
30
30
31
31
The following are the minimum requirements:
32
32
* C# and Visual Basic Roslyn Compilers
33
33
* Static Analysis Tools
34
34
* .NET Portable Library Targeting Pack
35
35
* Visual Studio C++ Core Features
36
-
* VC++ 2017 v141 Toolset (x86, x64)
36
+
* VC++ 2019 v142 Toolset (x86, x64) for Visual Studio 2019 or VC++ 2017 v141 Toolset (x86, x64) for Visual Studio 2017
37
37
* MSBuild
38
38
* .NET Framework 4.6 Targeting Pack
39
39
* Windows Universal CRT SDK
@@ -42,7 +42,7 @@ The following are the minimum requirements:
42
42
43
43
In order to fetch dependencies which come through Git submodules the following command needs to be run before building: `git submodule update --init`.
44
44
45
-
### Building From Visual Studio 2017
45
+
### Building From Visual Studio 2019 / Visual Studio 2017
46
46
47
47
First, set up the required tools, from a (non-admin) Command Prompt window:
48
48
@@ -77,4 +77,6 @@ For more details, or to test an individual project, you can navigate to the test
77
77
78
78
CMake 3.7 or higher is required for Visual Studio 2017.
79
79
80
+
CMake 3.14 or higher is required for Visual Studio 2019.
81
+
80
82
You need to run `build` from the root of the repo first prior to opening the solution file and building in Visual Studio.
0 commit comments