RootFile Element (Solution)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Child Elements
Parent Elements

Specifies a root path to which solution files are copied.

  Location = "Text">




Required Text. A path that is relative to %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\.

Use this element to deploy a localization resource that is shared by several features. Shared localization resources are located in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\Resources folder. For example, the following XML deploys three shared localization resource files.

  <RootFile Location="Resources\wingtip.resx" />
  <RootFile Location="Resources\wingtip.en-US.resx" />
  <RootFile Location="Resources\" />

For more information about using shared localization resources, see the description of the DefaultResourceFile attribute in Feature Element (Feature).

Localization resources used by extensions to the Central Administration user interface are located in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\Config\AdminResources folder. The following XML deploys localization resource files to that folder.

  <RootFile Location="Config\AdminResources\wingtip.resx" />
  <RootFile Location="Config\AdminResources\wingtip.en-US.resx" />
  <RootFile Location="Config\AdminResources\" />