Skip to content

Instantly share code, notes, and snippets.

@attilah
Created May 8, 2014 18:12
Show Gist options
  • Save attilah/6c7188fc93a93d0fb31f to your computer and use it in GitHub Desktop.
Save attilah/6c7188fc93a93d0fb31f to your computer and use it in GitHub Desktop.
Nitra VS 2013 error
I've Win8.1, VS 2013 with Update 2 RC.
System.ComponentModel.Composition.CompositionException: The composition produced a single composition error, with 2 root causes. The root causes are provided below. Review the CompositionException.Errors property for more detailed information.
1) Could not finishing composing object of type 'Nitra.VisualStudio.NitraGlobalConfig'. The import ' ContractName Microsoft.VisualStudio.Utilities.IContentTypeRegistryService RequiredTypeIdentity Microsoft.VisualStudio.Utilities.IContentTypeRegistryService' was not satisfied. Resulting in: Cannot get export 'Nitra.VisualStudio.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig")' from part 'Nitra.VisualStudio.NitraGlobalConfig'. Element: Nitra.VisualStudio.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig") --> Nitra.VisualStudio.NitraGlobalConfig Resulting in: Cannot set import 'Nitra.VisualStudio.ViewCreationListener.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig")' on part 'Nitra.VisualStudio.ViewCreationListener'. Element: Nitra.VisualStudio.ViewCreationListener.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig") --> Nitra.VisualStudio.ViewCreationListener Resulting in: Cannot get export 'Nitra.VisualStudio.ViewCreationListener (ContractName="Microsoft.VisualStudio.Text.Editor.IWpfTextViewCreationListener")' from part 'Nitra.VisualStudio.ViewCreationListener'. Element: Nitra.VisualStudio.ViewCreationListener (ContractName="Microsoft.VisualStudio.Text.Editor.IWpfTextViewCreationListener") --> Nitra.VisualStudio.ViewCreationListener
2) Could not finishing composing object of type 'Nitra.VisualStudio.NitraGlobalConfig'. The import ' ContractName Microsoft.VisualStudio.Utilities.IFileExtensionRegistryService RequiredTypeIdentity Microsoft.VisualStudio.Utilities.IFileExtensionRegistryService' was not satisfied. Resulting in: Cannot get export 'Nitra.VisualStudio.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig")' from part 'Nitra.VisualStudio.NitraGlobalConfig'. Element: Nitra.VisualStudio.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig") --> Nitra.VisualStudio.NitraGlobalConfig Resulting in: Cannot set import 'Nitra.VisualStudio.ViewCreationListener.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig")' on part 'Nitra.VisualStudio.ViewCreationListener'. Element: Nitra.VisualStudio.ViewCreationListener.NitraGlobalConfig (ContractName="Nitra.VisualStudio.INitraGlobalConfig") --> Nitra.VisualStudio.ViewCreationListener Resulting in: Cannot get export 'Nitra.VisualStudio.ViewCreationListener (ContractName="Microsoft.VisualStudio.Text.Editor.IWpfTextViewCreationListener")' from part 'Nitra.VisualStudio.ViewCreationListener'. Element: Nitra.VisualStudio.ViewCreationListener (ContractName="Microsoft.VisualStudio.Text.Editor.IWpfTextViewCreationListener") --> Nitra.VisualStudio.ViewCreationListener at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition) at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart) at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore() at System.ComponentModel.Composition.Primitives.Export.get_Value() at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export) at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass4`2.<CreateStronglyTypedLazyOfTM>b__1() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata](Object errorSource, Lazy`2 provider)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment