Cannot build VS2017 C++ solution using VS2019 Preview

  • Thread starter Thread starter DavidTML
  • Start date Start date
D

DavidTML

Guest
Hi

I have a C++ solution/project that is developed with Visual Studio 2017 by many developers. We don't want to upgrade it to VS2019 yet.

I tried building this solution using Visual Studio 2019 16.0.0 Preview 5.0 and the build failed with:

error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install Visual Studio 2017 build tools.

It appears that 'Visual Studio 2017 build tools' is no longer available, so I downloaded and installed 'Visual Studio 2019 build tools' and enabled component:


MSVC v141 - VS 2017 C++ x64/x86 build tools ...

However, VS 2019 still gives the same error:

error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found.

Why isn't VS2019 finding the VS2017 build tools?

Continue reading...
 
Back
Top