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.

Blog at WordPress.com.

%d bloggers like this: