Home Dashboard Directory Help
Search

Visual Studio .NET 2010 could not open VC++ projects after installing Visual Studio .NET 2011 Developer Preview Edition by Afshin_Jafari01


Status: 

Closed
 as Duplicate Help for as Duplicate


6
0
Sign in
to vote
Type: Bug
ID: 710360
Opened: 12/1/2011 3:27:51 PM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
1
Workaround(s)
view
6
User(s) can reproduce this bug

Description

After installing Visual Studio .NET 2011, I get the following error while opening VC++ projects in VS 2010 pro.

msbuild does not contain a value for the "VCTargetsPath" property
Details
Sign in to post a comment.
Posted by Microsoft on 12/2/2011 at 5:25 PM
Hi Afshin,

Thanks for the feedback. The issue you ran into is fixed for the next public release Visual Studio.

Jim Griesmer
Visual C++ Team
Posted by MS-Moderator08 [Feedback Moderator] on 12/1/2011 at 6:59 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 12/1/2011 at 3:43 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Volmart on 3/9/2012 at 12:10 AM
Vorkaround can be found here:

http://stackoverflow.com/questions/8497931/msbuild-does-not-contain-a-value-for-the-vctargetspath-property

Solution - add reg key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSBuild\ToolsVersions\4.0
Key Name: VCTargetsPath
Type: REG_SZ
Value: $(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\