Condividi tramite


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

  • Anonymous
    December 23, 2009
    Thanks for posting this, same thing just happened to me Thanks again

  • Anonymous
    December 26, 2009
    Thanks a lot. You saved me a lot of time ;-)

  • Anonymous
    April 27, 2010
    The comment has been removed

  • Anonymous
    July 19, 2010
    Thanks for your post, just had this issue.

  • Anonymous
    August 19, 2010
    Thank you, a big time saver

  • Anonymous
    November 09, 2010
    Eureka!  Genius!  Saved me big time.

  • Anonymous
    May 05, 2011
    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.

  • Anonymous
    July 06, 2011
    Awesome.. you saved my time, I was getting nowhere. Thanks

  • Anonymous
    February 22, 2012
    The comment has been removed

  • Anonymous
    September 21, 2012
    Thanks a lot. Same here saved me a lot of time

  • Anonymous
    November 09, 2014
    This solution work perfectly on silverlight 5 too. after re factoring i also faced same issue. Thank you.