Share via


Non-dependent XML Resource Files

A non-dependent XML resource file is defined as a .resx file whose parent object in the hierarchy is either a folder or the project root. The manifest resource name of this resource is computed as follows: the default namespace of the folder containing the XML resource file + the name of the XML resource file + .resources. For example, consider a project named Project1 with root namespace RootNamespace and the following hierarchy: Project1->Folder1->MyResource.de-de.resx.

For Visual Basic, where the default namespace for every folder is always the root namespace, the name MyResource.resx would be transformed to the manifest resource name RootNamespace.MyResource.de-de.resources.

For Visual C#, where the default namespace for every folder is always inferred from the folder's location in the hierarchy, the name MyResource.resx would be transformed to the manifest resource name RootNamespace.Folder1.MyResource.de-de.resources.

See Also

Other Resources

Dependent XML Resource Files