[cmake-developers] [CMake 0014369]: VS 2013 Project File ToolsVersion Incorrect

Mantis Bug Tracker mantis at public.kitware.com
Tue Aug 20 13:27:35 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14369 
====================================================================== 
Reported By:                mharmer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14369
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-08-20 13:27 EDT
Last Modified:              2013-08-20 13:27 EDT
====================================================================== 
Summary:                    VS 2013 Project File ToolsVersion Incorrect
Description: 
When attempting to build via MSBuild a project file generated by CMake a failure
is reported:

C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5):
error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be
found.
 To build using the v120 build tools, either click the Project menu or
right-click the solution, and then select "Update VC++ Projects...". Install
v120 to build using the v120 build tools.

The following snippet from the .vcxproj is generated:

<Project DefaultTargets="Build" ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

The ToolsVersion for VC12 (VS2013) should be "12.0", not "4.0".


Steps to Reproduce: 
1. Generate project files targeting VS 2013 (VS 12) - in particular we're using
Ogre 1.7.2.
2. Attempt to build via MSBuild on the command line

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-08-20 13:27 mharmer        New Issue                                    
======================================================================




More information about the cmake-developers mailing list