We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to resolve InvalidOperationException occurred on remove and add the same child in Visual Tree of DockingManager

An InvalidOperationException occurred on remove and add the same child in Visual Tree while executing the application in VisualStudio 2017 debug mode with windows 10 update and this can be resolved by following the below steps.

 

Based on the suggestion in the below MSDN forum, the reported exception can be resolved by disabling "UI Debugging Tools for XAML" option in VS2017. 

 

MSDN link:  https://social.msdn.microsoft.com/Forums/vstudio/en-US/1732fe72-30ce-4cdb-b06f-a4becf0f2d72/when-debugging-i-cannot-open-any-forms-in-vs-2017-windows-10-build-16215?forum=wpf 

 

 

  1. Select the Visual Studio Options from the menu (Tools -> Options)    
  2. Select General under Debugging     
  3. Uncheck Enable UI Debugging Tools for XAML  

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
8842 06/14/2018 06/14/2018 WPF DockingManager 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.