Forum Xamarin.Android

Xamarin Android Layout Editor

Hello, after having installed Xamarin on VS 2015, Community Edition, the layout wont load, citing this error

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\3513\47830f6b\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerInterface.cs:line 154
at Xamarin.AndroidDesigner.DesignerProject.get_CodeModelBridge()
at Xamarin.AndroidDesigner.DesignerProject.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.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.d__105.MoveNext()

Please what am i doing wrong. Installed Xamarin 4, JDK 1.8 and the Android API 25 and its preview tools

Posts

Sign In or Register to comment.