Sunday, February 22, 2015

Visual Studio stuck on "Waiting for parse to complete..."

Today when I opened my sharepoint 2013 solution in Visual Studio 2013 it got stuck loading a project with the message in the status bar of "Waiting for parse to complete...".  Yesterday before I closed visual studio I was looking at a large xsl file which I had left open before closing visual studio.  I think this may have been the file it was stuck on?

The way I fixed it was to remove the mapping in Visual Studio to the solution and re-add it in Source Control Explorer.  To remove mapping:
  1. Backup your source code to another folder
  2. go to Source Control Explorer
  3. right click on the folder that contains the solution
  4. Go to Advanced > Remove Mapping...

No comments: