View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014216CMakeCMakepublic2013-06-14 07:182014-03-05 09:58
ReporterChristian Maaser 
Assigned ToBrad King 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.11.1 
Target VersionCMake 2.8.12Fixed in VersionCMake 2.8.12 
Summary0014216: Add support for .NET target framework version
DescriptionThe MSVS generators do no support setting the .NET target framework version, yet. As described here http://msdn.microsoft.com/en-us/library/vstudio/ff770576.aspx [^] this isn't even supported by the VS IDE, and usually needs to be changed by manually editing the .vcxproj file and adding a new XML node.
The only alternative to that is to pass the target framework version to msbuild.exe, but obviously that isn't feasible when using cmake.
Steps To Reproduce-
Additional Information-
Tagsc++, CMake, msvc
Attached Filespatch file icon vs_dotnet_target_framework_version.patch [^] (1,548 bytes) 2013-06-14 07:20 [Show Content]
patch file icon vs_dotnet_target_framework_version_2.patch [^] (1,635 bytes) 2013-06-14 07:28 [Show Content]

 Relationships
related to 0014499closedBrad King Add support for .NET target framework version for VS 2008 

  Notes
(0033283)
Christian Maaser (reporter)
2013-06-14 07:23

I added an experimental patch that adds a new target property named "VS_DOTNET_TARGET_FRAMEWORK_VERSION", and which generates the required XML node in case that property is set. If it isn't set nothing is added to the .vcxproj file to maintain compatibility with existing cmake projects.
(0033284)
Christian Maaser (reporter)
2013-06-14 07:31

Whoops, please ignore the first attachment... :)
(0033286)
Brad King (manager)
2013-06-14 08:16

Applied, thanks:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cfe6300a [^]
(0035288)
Robert Maynard (manager)
2014-03-05 09:58

Closing resolved issues that have not been updated in more than 4 months

 Issue History
Date Modified Username Field Change
2013-06-14 07:18 Christian Maaser New Issue
2013-06-14 07:20 Christian Maaser File Added: vs_dotnet_target_framework_version.patch
2013-06-14 07:23 Christian Maaser Note Added: 0033283
2013-06-14 07:24 Christian Maaser Tag Attached: c++
2013-06-14 07:24 Christian Maaser Tag Attached: CMake
2013-06-14 07:24 Christian Maaser Tag Attached: msvc
2013-06-14 07:28 Christian Maaser File Added: vs_dotnet_target_framework_version_2.patch
2013-06-14 07:31 Christian Maaser Note Added: 0033284
2013-06-14 08:16 Brad King Note Added: 0033286
2013-06-14 08:16 Brad King Assigned To => Brad King
2013-06-14 08:16 Brad King Status new => resolved
2013-06-14 08:16 Brad King Resolution open => fixed
2013-06-14 08:16 Brad King Fixed in Version => CMake 2.8.12
2013-06-14 08:16 Brad King Target Version => CMake 2.8.12
2013-10-21 08:56 Brad King Relationship added related to 0014499
2014-03-05 09:58 Robert Maynard Note Added: 0035288
2014-03-05 09:58 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team