Apr 16, 2011 at 3:11 PM
Edited Apr 17, 2011 at 12:05 AM
Hi - Two issues.
1. The walkthrough doc says "Make sure that the BasicMVVMApp.Web
project is set as the Startup project.".
When this is true, all I get is the folder listing in the browser window when I start the project in the debugger. But if I set the
BasicMVVMApp project as the startup project, at least I get the main window to show up. Is the doc wrong (the most obvious assumption), or do I need to set some magic setting somewhere that I'm just supposed to know? I am not a Silverlight
expert. I have studied WPF and done several small desktop apps though.
2. The app apparently runs correctly, since the color name changes color based on selection in the list box, but also the debugger will not hit any breakpoints even when I enable Silverlight Debugging, and no output shows up in the Output Window, even if
I have the debugging option to show output turned on.
Microsoft Visual Studio 2010 Premium
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel
Firefox latest version. I don't use IE if I can help it.
Thanks for any ideas...
======================================== 4 hours later...
Well, well. Isn't this interesting. Find anOTHER page where it says to set the startup OBJECT to the html page.
Set IE as the default browser, and LO AND BEHOLD - the debugger starts working. Isn't that interesting. The VS Attach Process dialog box doesn't LOOK any different, except for the browser name, but... obviously it is. Same Silverlight control, same html
page, same xap, same managed code, no tweaks to IE or Firefox in any way... but it won't work unless you use IE.
And thanks for nuthin.