Visual Studio 2012 Changes
Posted: Tue Dec 25, 2012 9:38 am
I encountered a few issues with compiling the server with VS2k12 and decided to share my solutions for them.
Since VS2k12 can use older projects without converting them, we should be able to maintain an environment where people with 2k10 and people with 2k12 should be able to work simultaneously.
Issues and solutions:
Since VS2k12 can use older projects without converting them, we should be able to maintain an environment where people with 2k10 and people with 2k12 should be able to work simultaneously.
Issues and solutions:
- "MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found.":
In project "Properties/Configuration Properties/General" the "Platform Toolset" has to be set to "Visual Studio 2012 (v110)". This change has to be set for Debug and Release mode seperately, and is saved in the .vcxproj file. This should only be used locally and not submitted to the repository. - "C1083: Cannot open include file: 'mysql/mysql.h': No such file or directory":
The MySQL header files need to be moved
from: "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include"
to: "C:\Program Files (x86)\Windows Kits\8.0\Include\shared"
I already updated the server setup guide in the Wiki for that. - "Parameter 'basePath' cannot be a relative path.":
In project "Properties/Configuration Properties/Debugging" the "Command" path and the "Working Directory" need to be changed. Add "$(MSBuildProjectDirectory)\" before each current path.