Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Extension Error #45

Closed
StarArawn opened this issue Oct 17, 2014 · 3 comments
Closed

Extension Error #45

StarArawn opened this issue Oct 17, 2014 · 3 comments
Assignees
Milestone

Comments

@StarArawn
Copy link

I updated to 1.0.0-Beta01 and I get the following error when loading my paradox solution up in visual studio 2012:

System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information. 1) The export 'Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationTypeRegistryService (ContractName="Microsoft.VisualStudio.Text.Classification.IClassificationTypeRegistryService")' is not assignable to type 'Microsoft.VisualStudio.Text.Classification.IClassificationTypeRegistryService'. Resulting in: Cannot set import 'SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider.ClassificationRegistry (ContractName="Microsoft.VisualStudio.Text.Classification.IClassificationTypeRegistryService")' on part 'SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider'. Element: SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider.ClassificationRegistry (ContractName="Microsoft.VisualStudio.Text.Classification.IClassificationTypeRegistryService") --> SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider Resulting in: Cannot get export 'SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider (ContractName="Microsoft.VisualStudio.Text.Classification.IClassifierProvider")' from part 'SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider'. Element: SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider (ContractName="Microsoft.VisualStudio.Text.Classification.IClassifierProvider") --> SiliconStudio.Paradox.VisualStudio.BuildEngine.OutputClassifierProvider 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__DisplayClass42.<CreateStronglyTypedLazyOfTM>b__1() at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable1 lazyFactories, Func2 getter, IContentType dataContentType, Object errorSource)

It doesn't seem to break functionality though.. As I can still compile without issue.

@xen2 xen2 added the bug label Oct 20, 2014
@xen2 xen2 self-assigned this Oct 20, 2014
@xen2
Copy link
Contributor

xen2 commented Oct 20, 2014

Sorry, we broke compatibility with VS2012 (VS2013 should work though).
This will be fixed in beta02.

@xen2 xen2 added this to the beta02 milestone Oct 20, 2014
@xen2 xen2 added the fixed label Oct 20, 2014
@StarArawn
Copy link
Author

I don't have access to VS2013 hopefully a new release comes soon! :)

@xen2
Copy link
Contributor

xen2 commented Oct 22, 2014

Fixed in newly released beta02.

@xen2 xen2 closed this as completed Oct 22, 2014
stride-bot pushed a commit that referenced this issue Jan 25, 2017
* commit '706fe8253f0f9bb4bd91ffa277abd589a66b73bc': (28 commits)
  [Quantum] Introduce CollectionUpdate as ContentChangeType
  [Quantum] Remove any PrepareChange/FinalizeChange from public API
  [Quantum] Remove PrepareChange and FinalizeChange from public interface IMemberNode
  [Quantum] Remove contentUpdating variable, using UpdatingPropertyFromBase instead
  [Quantum] Don't use PrepareChange and FinalizeChange directly on member node, we would like to remove these events. Seems to work with normal Changing/Changed events
  [Quantum] Remove obsolete GraphNodeChangeListener
  [Quantum] Split Reference into TargetReference and ItemReferences
  [Quantum] Fix refresh of references to boxed contents when the actual value changes type (when container is "object" for instance)
  [Quantum] Remove an assert that doesn't make sense anymore
  [Quantum] Fix creation of BoxedContent for non-struct boxed primitive types
  [Quantum] Remove the Content member of IContentNode
  [Quantum] Clean up content node and derived classes
  [Quantum] TargetNode is now a member of IMemberNode instead of IContentNode
  [Quantum] Remove several members of IReference
  [Quantum] Remove index from ReferenceEnumerable
  [Quantum] Add more tests
  [Quantum] Move TryGetChild into IObjectNode
  [Quantum] Move node events into IMemberNode
  [Quantum] Move the indexer accessor into IObjectNode
  [Quantum] Move the Children collection into IObjectNode and rename it Members
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants