Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1415
Error in xamcomboeditor when upgraded to 11.2 from 11.1
posted

Designer displays the following error if there is any event defined for SelectionChanged (even if it's an empty function or an empty string for the event name). Also, my events tab for the combo editor displays no events just the properties although I do get the events showing in intellisense in the xaml designer.

We are seeing this on both of the two development machines we upgraded:

 

System.InvalidOperationException

Operation is not valid due to the current state of the object.

   at Microsoft.MetadataReader.MetadataOnlyTypeDef.MakeGenericType(Type[] argTypes)

   at Microsoft.VisualStudio.Shell.Design.TypeWrapper.MakeGenericType(Type[] typeArguments)

   at Microsoft.MetadataReader.ProxyGenericType.GetResolvedTypeWorker()

   at Microsoft.MetadataReader.TypeProxy.GetResolvedType()

   at Microsoft.MetadataReader.TypeProxy.GetHashCode()

   at Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.GetTypeForReflectableType(Reflectable`1 reflectableType)

   at MS.Internal.Metadata.ClrType.GetTypeMetadata(Type type)

   at MS.Internal.Metadata.ClrEvent.get_EventHandlerType()

   at MS.Internal.Design.Metadata.ReflectionEventNode.get_PropertyType()

   at MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlProperty.get_PropertyType()

   at MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlProperty.get_IsComposite()

   at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()

   at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateTreeTypes>d__20.MoveNext()

   at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.<EnumerateDamageTypes>d__31.MoveNext()

   at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.EnsureReferences(IEnumerable`1 types)

   at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)

   at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.CancelableDocumentTreeCoordinator.RouteMessage[T](IDocumentTreeConsumer consumer, MessageKey`1 key, T args)

   at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage)

   at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args)

   at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ReportDamage(IDocumentTreeProducer tree, Damage damage)

   at Microsoft.Windows.Design.DocumentModel.MarkupProducer.Update()

   at Microsoft.Windows.Design.DocumentModel.MarkupProducer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)

   at Microsoft.Windows.Design.DocumentModel.MarkupProducer.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator sender, MessageKey key, MessageArguments args)

   at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1 key, T args, Boolean isPrivateMessage)

   at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.QueuedMessage`1.Microsoft.Windows.Design.DocumentModel.IQueuedMessage.Invoke()

   at Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ProcessQueuedMessages(Object state)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

Parents
  • 17559
    posted

    Hello Greg,

     

    We have been looking into your issue and have submitted it to our development team with id: 96503 for further investigation. I have also created a support ticket (CAS-78217-4H4W0S) on your behalf in order to link the development issue to it and you get an automated notification when it has been resolved.

     

    Thank you for reporting this to us.

Reply Children