Dot Net Mafia

Group site for developer blogs dealing with (usually) Ionic, .NET, SharePoint, Office 365, Mobile Development, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog



Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for Ionic, SharePoint, and Office 365.

Workaround for freezes in Client Web Part Editor in Visual Studio 2012

If you have tried to do any work with SharePoint 2013 Client Web Parts with the Office Developer Tools Preview 2 in Visual Studio 2012, you know it’s an exercise in frustration.  It literally locks up every three or four lines of code you try to type.  When it does this, it will freeze for ten seconds or more.  This occurs when you are editing the page associated with the web part.  It’s a total productivity killer.


It finally bugged me enough that I started looking for a solution.  I was pretty close to switching to notepad.  Luckily, I found a quick work-around by launching a different text editor.  To launch another editor, right click on your web part page in the Solution Explorer and choose Open With…


Choose Source Code (Text) Editor.


This editor is similar to the Web Form Editor but it won’t lock up.  You will lose IntelliSense and AutoComplete.  However, I’d gladly close my own div tag to not have the editor lock up every ten seconds.  The HTML is still color coded at least, but the JavaScript is not.  Your JavaScript should be in a separate file anyways though. :)  If you have been experiencing this issue, I hope this helps.



Mattias said:

THANK YOU!!!!!!!!!!!!!

April 14, 2013 2:57 PM

Warlock said:

Thanks a lot! I have the same problem. Is there any fix from Microsoft?

April 19, 2013 2:10 AM

CoreyRoth said:

@Warlock try the RTM tools or reference a file locally.

April 19, 2013 8:34 AM

Vic Janus said:

Thank you!

March 28, 2015 1:18 AM

Leave a Comment


About CoreyRoth

Corey Roth is an independent SharePoint consultant specializing in ECM, Apps, and Search.
2018 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems