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.
<RootFile Location = "Text"> </RootFile>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
||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>