Today while debugging a Silverlight application, I noticed that, my Visual Studio 2010 was taking too much time to load the referenced assemblies and the browser was freezing for some time while loading the XAP. First I thought that it is due to the solution file but after doing some investigation I noticed that it is happening for all Silverlight application.

 

Finally I found the solution and thought to share with you. In case you come across same situation, this post will help you to resolve it easily.

 

What was the Issue?

After doing investigation of the issue I noticed that, it was due to a settings that I enabled yesterday. So, what was that settings changes? Ok, let me tell you that, I enabled the “Microsoft Symbol Server” to cache dependent assemblies in a local directory while debugging and it was causing the issue.

 

Here is the issue that I was facing:

 

Visual Studio Debugger Loading Issue

 

You can see that, here the assembly symbols are loading one by one and it is totally visible. Thus slowing down the application launching in debug mode.

 

Resolution

If you are facing similar issue with your Visual Studio IDE, just go to Tools –> Options and navigate to the “Debugging” section. There you will find an settings page named “Symbols”. Click it to load the page content. In the right side panel if you notice that the “Microsoft Symbol Servers” checkbox is checked, just uncheck it and press “Ok” to save the settings.

 

Here is the screenshot of the settings in “Options” window:

 

SNAGHTML15fefe1

 

 

Now run the Silverlight application once again in debug and now this will load the assemblies faster while loading the application.

 

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

 

Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Have a question? Or, a comment? Let's Discuss it below...

Thank you for visiting our website!

We value your engagement and would love to hear your thoughts. Don't forget to leave a comment below to share your feedback, opinions, or questions.

We believe in fostering an interactive and inclusive community, and your comments play a crucial role in creating that environment.