I modified my VS2010 project in VS2012, and now when I move back to VS2010, it shows:
"error MSB8008: Specified platform toolset (v110) is not installed or invalid. .lease make sure that a supported PlatformToolset value is selected."
But the problem I have already changed the PlatformToolset from v110 to v100 via Project--> Property--> Configureation ..--> General --> PlatformToolset : v100
The error message still there after I compiling the projects again. I was confused. Could anyone knows what the problem is now? Thanks!
The toolset error could be caused by a referenced project. You can find the culprit by doing the following:
For example, if you are building project X you might get the following error showing that referenced project FooBar.vcxproj specifies the toolset as v110 causing the error:
Target "PlatformPrepareForBuild: (TargetId:114)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets" from project "D:\Foo\Bar\FooBar.vcxproj" (target "PrepareForBuild" depends on it):
Using "VCMessage" task from assembly "Microsoft.Build.CppTasks.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03d5f8f12d50a3a".
Task "VCMessage" (TaskId:63)
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(514,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
After resolving the problem, be sure to put back the build output verbosity to normal and revert any change to the number of parallel project builds.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With