开发者

The [NeutralResourceLanguage] attribute is missing on the entry assembly

开发者 https://www.devze.com 2023-03-21 19:20 出处:网络
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

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 开发者_如何学Cknow how I can fix this?


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)


  • In Solution Explorer, right-click the project name, and click Properties.
  • Under the Application tab, click the Assembly Information button.
  • In the Neutral Language list, select the default culture.

This worked for me. My application didn't have a default language specified, so in the update I've set it to English. Anyway now I'm stuck at the "No Keywords or Description (Missing)" bug, good luck.

Source: http://forums.create.msdn.com/forums/t/87530.aspx


I have the same problem. After adding the NeutralResourcesLanguage("en-US"), I got another error from app hub saying that I can't change previously submitted language. Then I used NeutralResourcesLanguage(null) followed by a weird unexpected error message from app hub recommending me that now might be an excellent time to go out for a walk :) Seriously!!!


Open the AssemblyInfo.cs from your project and add the following at the top "using System.Resources;"

There is a new requirement of the app hub (ready for Mango) where all applications must now have a neutral resource language specified.

                        **OR ALTERNATIVELY TRY THIS:**
  1. Right click your project and select "properties"
  2. Click on the Assembly Info button
  3. Select Neutral language and choose a language of your choice. I work with English so i just choose English and you are good to go.

                           >>> Hope it helped <<<
    


alternatively can also fix this using VS2010 select your project --> right click --> properties --> under Application tab --> click Assembly information button --> select neutral language -- English.

Bingo -- done... :-)

Hope this may help!!

Thanks and Regards Nishant Rana

My blog- http://www.nishantcop.blogspot.com


In case you want a more detailed step by step on how to fix this, check out:

Neutral Resource Language Attribute Missing

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号