Use vs2017 to open the vs2015 project (it prompts that the v140 generation tool cannot be found (platform toolset = "v140"))

Open the project created in 2015 with 2017, the compilation prompts that the v140 generation tool cannot be found (platform tool set = "v140"),

Solution: Select the project properties, select the redirect solution target, select the current VS window sdk version,
redirect, and then recompile.
Insert picture description here
Insert picture description here
Select the installed toolset
Insert picture description here
and redirect it
to generate it

Guess you like

Origin blog.csdn.net/ice_masters/article/details/106904237