Prism 4 BasicMVVM Quickstart startup issues

Topics: Prism v4 - Silverlight 4
Apr 16, 2011 at 4:11 PM
Edited Apr 17, 2011 at 1: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.

I'm using:

Win 7

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.

Scratch 1.

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.

Scratch 2.

And thanks for nuthin.