A problem occurs when a program is compiled.
> ------ Generated: Project: photostore, configuration: Debug Win32 ------ 1> the generated start time is 18:10:34. 1> C: \ Program Files \ msbuild \ Microsoft. CPP \ v4.0 \ platforms \ Win32 \ Microsoft. CPP. win32.targets (outputs, 5): Error msb8008: the specified platform tool set (v110) is not installed or is invalid. Make sure that the supported platformtoolset value is selected. 1> 1> generation failed. 1> 1> used time 00:00:01. 48 ============ generate: 0 successful, 1 failed, 0 latest, skipped 0 ==========
Later, I checked the reason and found the following reasons:
The Platform tool set (v110) is used in vs2012. You use vs2010 to open the project. It uses v100 by default,
Therefore, this project may have been opened and updated using vs2012.
Solution: Right-click your project, select properties, and then click General in configuration properties. There is a platform working set in general, change v110 to v100, and click application.