Silverlight 3 Error: Unhandled Error in Silverlight Application Code: 2103 Category: InitializeError Message: Invalid or malformed application: Check manifest


Everything was working, I did some refactoring and starting getting this error:


Error: Unhandled Error in Silverlight Application Code: 2103 Category: InitializeError Message: Invalid or malformed application: Check manifest


In silverlight 3, it turns out that the refactoring of namespaces causes this. Very unintuitive error. I had added default App class under a namespace, but missed to change the startup object.


To fix: Right click on project, go to properties, and select the refactored name under “Startup object”


Comments (11)

  1. Thanks for posting this, same thing just happened to me

    Thanks again

  2. Mariusz says:

    Thanks a lot. You saved me a lot of time 😉

  3. Flip says:

    Thank you very much!!!!!!!!!!!!  I’ve unfortunately run SMACK into this a few times. :<

  4. kai says:

    Thanks for your post, just had this issue.

  5. Tim says:

    Thank you, a big time saver

  6. mebstyne says:

    Eureka!  Genius!  Saved me big time.

  7. Morten says:

    Still, in Silverlight 4, the same un-intuitive error message is displayed. You'd think they would've thought up a better one by now.

  8. Murali says:

    Awesome.. you saved my time, I was getting nowhere. Thanks

  9. Emily says:

    God,You save me!

  10. Irfan Baig says:

    Thanks a lot. Same here saved me a lot of time

  11. shalin says:

    This solution work perfectly on silverlight 5 too. after re factoring i also faced same issue. Thank you.