Koen about .Net

February 18, 2010

Silverlight project can’t be debugged anymore

Filed under: Development — Tags: , — koenwillemse @ 06:00

Well, today I had something very annoying. I was working on my Silverlight application for the customer I’m working for and suddenly, when I hit F5 in my Visual Studio, debugging didn’t work anymore. I had no idea what was going on, did a rebuild of the solution after a clean, but nothing helped.

There was however a simple way to fix it. Just go to the properties page of the web project hosting the application and remove the application.

Remove silverlight application from web applicatino

Remove silverlight application

Then add the application again (remove the check before “Add a test page that references the control” or you’ll get another test page) and fire it up again.
Add silverlight application again to web application

Add silverlight application

This fixed it for me. Hope this also helps somebody else. Let it know if it was helpful.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: