Forum Visual Studio

Visual Studio Crash every time I try and do anything with Xamarin

LeeMobileLeeMobile GBMember ✭✭

Hi All,

I have a problem every time I try and do any thing with Xamarin Visual studio crashes. I have tried updating Xamarin. I even uninstalled everything and re-installed from scratch, but not success .

Any ideas?

Xamarin Information: 0 : [2016-07-18 09:30:45.8731] Xamarin - 4.1.1.3-c7sr0+34a92cd
Xamarin.VisualStudio.Activation.AccountManager Information: 0 : [2016-07-18 09:30:46.0831] VS2015 Community
Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 09:30:46.1331] No license found for iOS
Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 09:30:46.1531] Running license sync for iOS
Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 09:30:46.1731] No license found for Android
Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 09:30:46.1831] Running license sync for Android
Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 09:30:50.7546] Updated license: iOS Community
Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 09:30:50.7856] Updated license: Android Community
Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 09:31:21.3791] Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 09:31:21.4591] Initialization finished
Xamarin.VisualStudio.Android.XamarinAndroidPackage Warning: 0 : [2016-07-18 09:31:21.4691] Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
Xamarin.VisualStudio.ActivationManager Error: 0 : [2016-07-18 09:31:22.0391] Metadata lookup failed
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreCase, Assembly& assembly, ReferenceType refType)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String name)
at Microsoft.VisualStudio.Design.VSDynamicTypeService.OnTypeResolve(Object sender, ResolveEventArgs e)
at System.AppDomain.OnTypeResolveEvent(RuntimeAssembly assembly, String typeName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName)
at Xamarin.Designer.DesignerService.CreateEditor(XElement editor)
at Xamarin.Designer.PropertyEditing.PropertySetEditor.Initialize(DesignerService service, XElement e)
at Xamarin.Designer.DesignerService.CreateEditor(XElement editor)
at Xamarin.Designer.DesignerService.LoadComponentMetadata(XElement e, String& cname)
at Xamarin.Designer.DesignerService.LoadMetadata(XDocument propertyMetadata)
at Xamarin.Designer.DesignerService.LoadMetadata()
Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 09:31:23.2153] Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 09:31:23.2753] Initialization finished
Xamarin.VisualStudio.IOS.XamarinIOSPackage Warning: 0 : [2016-07-18 09:31:23.2953] Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage.
Xamarin.VisualStudio.IOS.XamarinIOSPackage Information: 0 : [2016-07-18 09:31:23.3053] MDAddinsHash: 33f406fa2dcf214012c78cb846585f062b2e1d24

Lee

Posts

  • LeeMobileLeeMobile GBMember ✭✭

    Hi All,

    No one got any ideas on this?

    I am using Windows 7 x64 i7, 8GB ram.

    Lee

  • LeeMobileLeeMobile GBMember ✭✭

    Hi All,

    I found a bugzilla attachment with the same error. I only have the attachment id, not the bug ID. Can I find the bug id from the attachment id?

    https://bugzilla.xamarin.com/attachment.cgi?id=14195

    Call stack from that bug
    Xamarin.VisualStudio.Android.XamarinAndroidPackage Warning: 0 : [2015-12-08 12:44:25.9713] Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
    Xamarin.VisualStudio.Shell.XamarinShellPackage Error: 0 : [2015-12-08 12:44:26.2884] Metadata lookup failed
    System.NullReferenceException: Object reference not set to an instance of an object.
    at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
    at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreCase, Assembly& assembly, ReferenceType refType)
    at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
    at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
    at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String name)
    at Microsoft.VisualStudio.Design.VSDynamicTypeService.OnTypeResolve(Object sender, ResolveEventArgs e)
    at System.AppDomain.OnTypeResolveEvent(RuntimeAssembly assembly, String typeName)
    at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
    at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
    at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
    at System.Type.GetType(String typeName)
    at Xamarin.Designer.DesignerService.CreateEditor(XElement editor)
    at Xamarin.Designer.PropertyEditing.PropertySetEditor.Initialize(DesignerService service, XElement e)
    at Xamarin.Designer.DesignerService.CreateEditor(XElement editor)
    at Xamarin.Designer.DesignerService.LoadComponentMetadata(XElement e, String& cname)
    at Xamarin.Designer.DesignerService.LoadMetadata(XDocument propertyMetadata)
    at Xamarin.Designer.DesignerService.LoadMetadata()

    Lee

  • ViloVilo Member

    Hello,

    I know your initial topic was in 2016 but I'm facing exactly the same issue.
    I have the time to create the project, to generate it, to launch de Android Emulator...

    But after a while, if I restart Visual studio one or two time and try to acces to an xml : file Visual Studio crashed...

    Any recent solution ?

Sign In or Register to comment.