Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

  • Jerry Weng - MSFT

    Jerry Weng -...

    All-Star

    18970 Points

    2805 Posts

    Microsoft

    Re: NeutralResourcesLanguageAttribute does not work with 'UltimateResourceFallbackLocation.Satell...

    Aug 29, 2011 09:48 AM | LINK

    Hi,

    After hours of dubuging, I finally found the workaround.

    1.In Solution Explorer, right-click the project name, and then click Unload Project to close the project while leaving the project icon visible.

    2.In Solution Explorer, right-click the project name, and then click Edit. The project file opens in the Visual Studio XML Editor.

    3. In the project file, add one line under the node of "PropertyGroup" like this:

    <PropertyGroup>
      <UICulture>de-De</UICulture>
      ........
      .......
    ........

    That's the cultureinfo which you will be set in the NeutralResourcesLanguageAttribute.

    Save the project file and then reload the project and then build the project again, finally you will get the trick.

     

    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com.
    Microsoft One Code Framework