Sign In|Join
Home/Silverlight.NET Forums/Report a Silverlight Bug/NeutralResourcesLanguageAttribute does not work with 'UltimateResourc.../Re: NeutralResourcesLanguageAttribute does not work with 'UltimateResourceFallbackLocation.Satellite' parameter
All-Star
18970 Points
2805 Posts
Microsoft
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.
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.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework