The [NeutralResourceLanguage] attribute is missing on the entry assembly

Tom picture Tom · Jul 19, 2011 · Viewed 9k times · Source

I'm trying to submit an app to the windows phone 7 marketplace and have never encountered this error when validating my .xap package. App Hub just remodeled and became back online roughly an hour ago. Does anyone know how I can fix this?

Answer

Devo picture Devo · Jul 19, 2011

I'm getting the same thing.. Maybe their new update they just made doesn't work?

Found it... Update Assembly.cs with this:

using System.Resources;  // Add this to the top..

[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]

This worked for me.. Cheers..

Note per Blakomen:

If you are submitting an application for worldwide publishing, you should use NeutralResourcesLanguage("en"), not just "en-US" or it won't show up in the marketplace if you're trying to publish to UK marketplace, for example (it will for some reason come up for Korea and Japan though)