Thursday, September 06, 2012

VS2010 Build VS2012 Project Error ~ error MSB8008

Using VS2010 to open VS2012 Project.

Build Error Msg
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.

Build FAILED.


Solution :
step 1 : Remove *.suo files.
step 2 : Remove *.vcxproj.filters and *.vcxproj.user files.
step 3 : Remove Build History (Both Debug & Release).
step 4 : Edit (ProjectName).vcxproj file :
    Remove all "v110" section and save file.
step 5 : Reopen (SolutionName).sln and rebuild solution.

The Key Point Is :
"step 4 : Edit (ProjectName).vcxproj file :
    Remove all "v110" section and save file."

我負責

 ... + ...........  政策 我負責. 負責推卸責任. (阿不然你以為哩...) 聽說 記錯了 請見諒 深感抱歉.... 抗(國外)疫(苗)中...