Visual Studio Performance problems when writing XAML
I've dealt with Visual Studio performing terrible for too long now. Now I'm past the point of being emotionally broken and need help.
I can't figure out how to fix the issue of the Visual Studio XAML editor performing so badly.
When I type a set of characters each one takes at least a second to appear. SOMETIMES it works ok and randomly goes back to performing terribly.
I've had this problem on separate machines with VS 2010 and 2012. I've also disabled ReSharper and the xaml designer view and still no relief.
Here's a video of what I'm dealing with: http://youtu.be/KOADBKMIr7U
Some tips from Disable the XAML designer in Visual Studio :
Default to full XAML view
In the Tools –> Options menu, open the Text Editor node, then the XAML node, then select the Miscellaneous node; make sure that under the Default View heading there is a checkbox beside "Always open documents in full XAML view".Kill the designer rendering process
Open the Task Manager, right-click on XDesProc.exe, and select End Process.Open as source code
Right-click on any .xaml file in your solution explorer and select "Open With…", pick the "Souce Code (Text) Editor" and click "Set as Default..".
Other tips from XAML Editor Extraordinarily Slow :
Delete the Solution User Options (.suo) file
This file is usually located in the same folder as the solution (.sln) file (better keep a backup of it).Delete the "Licenses.Licx" file
This file is found in the Project Properties folder (better keep a backup).
The article Responsive XAML editing with ReSharper shows how to turn off IntelliSense and use a ReSharper plugin instead.
The article
Visual Studio Silverlight XAML designer very slow
recommends deleting the Microsoft.ServiceModel.DomainServices.WindowsAzure.dll
assembly.
I have also seen recommendations to use the Blend XAML designer/editor instead of that of VS.
Couple things to try (if you haven't already)...
Disable "Visual Experience". Goto Tools-> Options-> Environment-> General, untick everything in the visual experience section
Disable auto complete. Goto Tools-> Options-> Text Editor-> [langauge you use]-> General, untick everything in "Statement completion"
Disable word wrap. Goto same as #2 but untick "Word Wrap". I have read that it can slow down intellsense
The only fix I've found was using vs2013 with update 2.
Try to disable Resharper in case you have it and/or all other plugins for VS. Determine which one causes the issue and try to reinstall it. This approach has worked for me.
In Visual Studio 2015, go to Tools->Options->XAML Designer
, and uncheck "Enable XAML Designer"