XAML Editor Crashing

2 posts, 0 answers
  1. Rob
    Rob avatar
    27 posts
    Member since:
    Feb 2012

    Posted 15 Nov 2019 Link to this post

    I am having an issue using the .NET Core components within VS 2019 Professional. It is the latest build of the components.

    When I am trying to use the editor the XAML designer is throwing an unhandled exception 'System.InvalidOperationException - The contained "ItemCollection" is not an ancestor of "Window".

    I have created a youtube window showing the issue.


    Many thanks,



  2. Vladimir Stoyanov
    Vladimir Stoyanov avatar
    762 posts

    Posted 20 Nov 2019 Link to this post

    Hello Rob,

    Thank you for the provided video. 

    I tested the described scenario in a sample project on my end, however I was not able to reproduce the observed on your end behavior. That is why I am attaching the sample project I used for testing purposes.  May I ask you to check it out and see how it differs from the setup on your end? Are the custom UserControls necessary for the issue to be reproduced?

    If you find it possible, can you modify the sample project in order to replicate the design time exception and send it back in a new support ticket (since projects cannot be attached to forum posts)? This way I will be able to investigate the scenario and better assist you.

    Vladimir Stoyanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top