Wednesday, 29 May 2013

Could not load satellite assembly - Why doesn’t my app work on WP8 (part 4 of N)

While beginning to port our app Terminator to WP8, we were faced with an exception in App.InitializeComponent of the type MissingSatelliteAssemblyException

We started terminator way back in the Windows Mobile 6.5 days, and it was one of the first apps we produced for WP7.

At some point in the distant past, (November 2011 to be a bit more precise) the store changed so that you needed to add something like this to your assembly attributes:

[assembly: NeutralResourcesLanguage(“en”)] or as suggested by some here:
[assembly: NeutralResourcesLanguage(“en”), UltimateResourceFallbackLocation.Satellite)]

Unfortunately, I chose this second option, and that’s the source of the error.

Removing it solved the problem.

No comments:

Post a Comment