views:

162

answers:

2

Few days ago all was ok: when I started my web-site with Silverlight 4.0 application with F5 in Visual Studio debugger was connecting to Silverlight automatically, but now it doesn't.

I've tried to attach manually from "Debug"->"Attach to process" with "Attach to" option set into "Silverlight code" value. But my breakpoints are still "disabled"...

Why? How can I resolve that?

Thanks.

P.S. I've created new Silverlight project recently - and is been able to attach to silverlight without any problems...

+1  A: 

check the debugger settings in the ASP project that is hosting your silverlight application, make sure silverlight is checked. Go to Properties->Web tab->Debuggers, check Silverlight

Debuggers Selection

luke
Luke, all my setting are same as your... Thank you, but that didn't help... :(
Budda
A: 

My xap-file of the Silverlight app is not being updated after compilation: I've added another control - it didn't appear in my app...

The reason: Silverlight app contained wrong "Startup Object". After fix - problem was resolved.

P.S. Sorry for stupid question.

Budda