Skip to content
1 min read

"Waiting for parse to complete" in Visual Studio Lightswitch


developer-working-on-sharepoint-and-visual-studio.jpg

I was recently working on a Lightswitch application to integrate some SQL assets with SharePoint document libraries through a provider hosted app, and hit a snag. Anyone who has worked with Lightswitch knows the pain of using the visual designer for screen development. After working on a product for a few weeks, I ran into an issue where Visual Studio 2013 failed to completely load my Lightswitch solution. I looked at the bottom of the screen and noticed an output message that said "Waiting for parse to complete". It's not a helpful message, for sure, and a Google search will send you all over the place looking for an answer. Some of the ones I found advised me to install the latest Visual Studio update or delete user files. None of these solutions work, and honestly, installing updates was the last thing I want to do while trying to push a new product out the door.

I found out the issue I was having was due to Visual Studio have problems parsing XML files. Basically, 75 percent of a lightswitch application is a series of XML files that connect screens to data and project files that define the solution.

The Fix:

In order to fix my issue, I changed Visual Studio Optimizations relating to XML file parsing.

  1. Open 'Tools','Options'
  2. Select Environment
    1. Uncheck 'Automatically adjust visual experience on based on client performance'
    2. Uncheck 'Enable rich client visual experience'
    3. Uncheck 'Use hardware graphics acceleration if available
  3. Select Text Editor
  4. Navigate to subitem 'XML'
    1. Select 'Miscellaneous'
    2. Uncheck 'Enter outlining mode when files open'

That's it! I hope this helps you open your Visual Studio Lightswitch solutions!

Share
  
DON'T MISS!

Expert Insights from the Aerie Team

Drop us a line

Our team will be happy to answer your questions.

ADDRESS: 110 West Canal Street, Suite 201
Winooski, VT 05404

PHONE
: (813) 358-4656
HOURS: 8:00 am - 5:00 pm EST Monday to Friday
EMAIL: chanson@aerieconsulting.com