RootFile Element (Solution)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Remarks

Specifies a root path to which solution files are copied.


<RootFile
  Location = "Text">
</RootFile>

Attribute

Description

Location

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.

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

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.

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

Show:
© 2014 Microsoft