If your Windows Phone 7 project isn’t starting at all – you’re not even hitting App.xaml.cs, you’ve probably renamed the app project.
Fix: Set the startup object on the app project’s properties page
In the .csproj file, this corresponds to the SilverlightAppEntry element:
PhotoDiary.App
I would call it a bug, that you cannot rename a project and have the SilverlightAppEntry update accordingly. But luckily, the work-around is simple.
Have a nice day!
I’ve run into this before as well. The kicker (problem) is when the correct option is NOT dislayed in the Startup Object dropdown. gggrrrr I found when that happened to me, a simple restart of VS fixed it. Thankfully renaming top level namespaces doesn’t happen very often!
If your readers are interested, I have some additional information as well (http://www.pchenry.com/Home/tabid/36/EntryId/299/Is-your-WP7-app-emulator-unexpectedly-dying-on-you-without-warning.aspx).
Thanks PHenry, your post had a lot of good info.
Howdy. I just had another friend run SMACK into this issue and used your blog/this exact entry as a point of reference. Cool! Thanks.
Have a good one!
Thank you very much for precisely pointing out the problem and the solution.
Best regards!
Pingback: itemprop="name">URL
Thanks..It is working now