<p>When editing XAML in VS2008 SP1, the editor is really slow. devenv process seems to be around at 40% CPU (the machine I’m using at the moment is only dual core, so that’s almost maxing out one core) most of the time. It spikes up a bit more when I switch to another XAML file. I do also have ReSharper installed, but I think I’d rather put up with the slowness than remove that :)</p>

<p>Any suggestions on how I can speed things up a bit?</p>

<p>Edited to add:
I'm already using the Xaml only view, which did speed it up from what I remember - but it's still to sluggish. Also, the Xaml files aren't massive - only 100 to 200 lines.</p>

[{'answer_id': 39014, 'author': 'jfs', 'author_id': 718, 'author_profile': 'https://Stackoverflow.com/users/718', 'pm_score': 0, 'selected': False, 'text': '<p>Maybe you can edit the XAML file outside Visual Studio. Use tools like:</p>\n\n<ul>\n<li><a href="http://blogs.msdn.com/llobo/archive/2008/08/25/xamlpadx-4-0.aspx" rel="nofollow noreferrer">XamlPadX 4</a></li>\n<li><a href="http://www.kaxaml.com/" rel="nofollow noreferrer">Kaxaml</a></li>\n</ul>\n'}, {'answer_id': 39026, 'author': 'Jon Galloway', 'author_id': 5, 'author_profile': 'https://Stackoverflow.com/users/5', 'pm_score': 2, 'selected': False, 'text': '<p>You can speed it up a lot by only viewing the XML view. Tools / Options / Text Editor / XAML / Always open documents in full XAML view (check this box).</p>\n'}, {'answer_id': 39290, 'author': 'Wilka', 'author_id': 1367, 'author_profile': 'https://Stackoverflow.com/users/1367', 'pm_score': 2, 'selected': True, 'text': '<p>It looks like the slowdown is due to ReSharper. From a bit more Googling I <a href="http://codeclimber.net.nz/archive/2008/08/06/how-to-disable-resharper-for-a-file-ctrl-8.aspx" rel="nofollow noreferrer">found</a> that pressing <kbd>Ctrl</kbd>+<kbd>8</kbd> will turn ReSharper off for the current file (<kbd>Ctrl</kbd>+<kbd>8</kbd> again to turn it back on). If I do this for the slow Xaml files, my problems pretty much go away (and I don’t mind not having ReSharper for Xaml)</p>\n<p>Update: The 4.1 release of ReSharper seems to have fixed the performance problem, so I no longer need to use the <kbd>Ctrl</kbd>+<kbd>8</kbd> shortcut.</p>\n'}, {'answer_id': 497797, 'author': 'Jippers', 'author_id': 36234, 'author_profile': 'https://Stackoverflow.com/users/36234', 'pm_score': 1, 'selected': False, 'text': '<p>I found that this hotfix solved a major lagging and stuttering issue I was having.</p>\n\n<p><a href="https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=10826" rel="nofollow noreferrer">https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=10826</a></p>\n\n<p>Before simply scrolling or editing a tag in my xaml would cause a 5-10 second pause in VS2008. This hotfix seemed to remedy most of it; not it only pauses after save and loading xaml files.</p>\n'}]
['https://Stackoverflow.com/questions/39007', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1367/']