Error when creating C++ class library project - by Geerten Doornenbal

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


2
0
Sign in
to vote
ID 763715 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 9/20/2012 2:33:54 AM
Access Restriction Public

Description

When trying to create a C++ class library, Visual Studio gives the following error:
---------------------------
Microsoft Visual Studio Express 2012 for Windows Desktop
---------------------------
The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.



1) No exports were found that match the constraint: 
	ContractName	Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
	RequiredTypeIdentity	Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
	RequiredCreationPolicy	Shared



Resulting in: Cannot set import 'Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService.IVsHierarchy (ContractName="Microsoft.VisualStudio.Shell.Interop.IVsHierarchy")' on part 'Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService'.

Element: Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService.IVsHierarchy (ContractName="Microsoft.VisualStudio.Shell.Interop.IVsHierarchy") -->  Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService



Resulting in: Cannot get export 'Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService (ContractName="Microsoft.VisualStudio.Project.Designers.IVsUnconfiguredProjectIntegrationService")' from part 'Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService'.

Element: Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService (ContractName="Microsoft.VisualStudio.Project.Designers.IVsUnconfiguredProjectIntegrationService") -->  Microsoft.VisualStudio.Project.VS.Implementation.VSUnconfiguredProjectIntegrationService



Resulting in: Cannot set import 'Microsoft.VisualStudio.Project.UnconfiguredProjectServices.vsUnconfiguredProjectIntegrationService (ContractName="Microsoft.VisualStudio.Project.Designers.IVsUnconfiguredProjectIntegrationService")' on part 'Microsoft.VisualStudio.Project.UnconfiguredProjectServices'.

Element: Microsoft.VisualStudio.Project.UnconfiguredProjectServices.vsUnconfiguredProjectIntegrationService (ContractName="Microsoft.VisualStudio.Project.Designers.IVsUnconfiguredProjectIntegrationService") -->  Microsoft.VisualStudio.Project.UnconfiguredProjectServices



Resulting in: Cannot get export 'Microsoft.VisualStudio.Project.UnconfiguredProjectServices (ContractName="Microsoft.VisualStudio.Project.IUnconfiguredProjectServices")' from part 'Microsoft.VisualStudio.Project.UnconfiguredProjectServices'.

Element: Microsoft.VisualStudio.Project.UnconfiguredProjectServices (ContractName="Microsoft.VisualStudio.Project.IUnconfiguredProjectServices") -->  Microsoft.VisualStudio.Project.UnconfiguredProjectServices


---------------------------
OK   
---------------------------

After clicking OK, the following error shows:
---------------------------
Microsoft Visual Studio Express 2012 for Windows Desktop
---------------------------
General Exception (Exception from HRESULT: 0x80131500)
---------------------------
OK   
---------------------------

After that no new project is added, all that is done is it created a vcxproj file in a new directory.
Sign in to post a comment.
Posted by Microsoft on 9/20/2012 at 7:27 PM
Thanks for your feedback.

We have marked this bug as a duplicate of another issue(https://connect.microsoft.com/VisualStudio/feedback/details/763712) we are already tracking. Please see the issue linked to this bug for updates.

Thank you,

Microsoft Visual Studio Connect Support Team.
Posted by Geerten Doornenbal on 9/20/2012 at 2:53 AM
Never mind, I could not find my previously reported bugs, but I found out I had to use Internet Explorer instead of Chrome. Please put your focus on my first bug report, this is a duplicate.
Posted by Microsoft on 9/20/2012 at 2:50 AM
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)