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
What did you do?: I tried to build ML.NET from the developer's guide using Visual Studio 2019
What happened?: The build failed
Error: Visual Studio 2015 or 2017 required.
In src/Native/build.cmd at line 64: :VS2019 :: Setup vars for VS2019 set __PlatformToolset=v142 set __VSVersion=15 2017 if NOT "%__BuildArch%" == "arm64" ( :: Set the environment for the native build call "%VS160COMNTOOLS%..\..\VC\Auxiliary\Build\vcvarsall.bat" %__VCBuildArch% )
Needs to be set __VSVersion=16 2019
Also cmake needs to be of version 3.14 or higher as it contains the generator for Visual Studion 2019
The text was updated successfully, but these errors were encountered:
Issue
Error: Visual Studio 2015 or 2017 required.
In src/Native/build.cmd at line 64:
:VS2019
:: Setup vars for VS2019
set __PlatformToolset=v142
set __VSVersion=15 2017
if NOT "%__BuildArch%" == "arm64" (
:: Set the environment for the native build
call "%VS160COMNTOOLS%..\..\VC\Auxiliary\Build\vcvarsall.bat" %__VCBuildArch%
)
Needs to be
set __VSVersion=16 2019
Also cmake needs to be of version 3.14 or higher as it contains the generator for Visual Studion 2019
The text was updated successfully, but these errors were encountered: