Skip localization of a Windows 7 phone <SupportedCultures>
I am creating a localized wp7 application following the MSDN article "How to create a localized application for Windows Phone". here's a link
The article says that I need to add each additional language to the <SupportedCultures> element in the project.csproj file. But I could not find the <SupportedCultures> element in the project.csproj file. Can someone tell me where I can put the <SupportedCultures> element. Thanks.
Here is the code in the project.csproj file.
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ProjectExtensions> <VisualStudio> <FlavorProperties GUID="GUID"> <SilverlightMobileCSProjectFlavor> <FullDeploy>False</FullDeploy> </SilverlightMobileCSProjectFlavor> </FlavorProperties> </VisualStudio> </ProjectExtensions> </Project> +4
2 answers
There should be much more to the project file than just!
But here is what you asked, all you have to do is combine your XML with this:
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <SupportedCultures></SupportedCultures> </PropertyGroup> </Project> +3