RootFile element (Solution)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Specifies a root path to which solution files are copied.

  Location = "Text">

Elements and attributes

The following sections describe attributes, child elements, and parent elements.


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

Child elements


Parent elements


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\" />