Skip to content

Instantly share code, notes, and snippets.

@rschiefer
Created September 29, 2016 16:26
Show Gist options
  • Save rschiefer/76e94c0924dd60dce067f04a66cf44fd to your computer and use it in GitHub Desktop.
Save rschiefer/76e94c0924dd60dce067f04a66cf44fd to your computer and use it in GitHub Desktop.
System.ComponentModel.Composition.ImportCardinalityMismatchException: No exports were found that match the constraint:
ContractName VisualStudioWorkspace
RequiredTypeIdentity Microsoft.CodeAnalysis.Workspace
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportsCore(Type type, Type metadataViewType, String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
at Xamarin.VisualStudio.Android.MonoAndroidDesignerInterface.GetCodeModelBridge() in C:\data\lanes\3822\76037860\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerInterface.cs:line 154
at Xamarin.AndroidDesigner.DesignerProject.get_CodeModelBridge()
at Xamarin.AndroidDesigner.DesignerProject.<UpdateDesignerResourceIds>d__175.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Xamarin.AndroidDesigner.DesignerProject.<EnsureLoaded>d__139.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Xamarin.AndroidDesigner.AndroidRenderSession.<InitSession>d__105.MoveNext()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment