XAML designer visual studio not loading

I develop phone applications for Windows on my Mac Book Pro Retina (end of 2013) on a virtual machine using Parallels 9. I have Visual Studio 2012 and Windows Phone 8 SDK installed, and everything works fine by writing code and checking it on my Lumiya phone. The problem is that the XAML constructor does not load, that is, I get the following error:

System.InvalidOperationException The document failed to open. at Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken) at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken) 

Next to this error message, which is displayed instead of the designer, there is a button for reloading the constructor. But when I click on it, it takes forever and does not get any results.

I posted my question in the Microsoft forum , but it seems like a ghost town appeared there.

+7
c # wpf visual-studio-2012 xaml windows-phone-8
source share
2 answers

Steps:

  • close all instances of visual studio
  • go to C: \ Users \ <> \ AppData \ Local \ Microsoft \ VisualStudio \ 12.0
  • rename or delete "ComponentModelCache"
  • restart visual studio
+10
source share

I also have an infinitely loadable constructor. I solved this by removing UserControl and re-creating it through the original control.

+2
source share

All Articles