get error MSB8020 when build in vs2017 community in some projects in one solution

lizzie 1 Reputation point
2022-07-17T15:56:17.373+00:00

I was building c++ projects with visual studio 2017, and some projects in one sulution have been built successfully, but other projects meet the error as follows:

C:\Program Files(x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for v141 (Platform Toolset = '141) cannot be found.

I checked the v141 has been installed, and as described before, some other projects are success.221507-%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87-20220717235518.png

Developer technologies | Visual Studio | Debugging
Developer technologies | C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.