Solution element (Solution)

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

Top-level element for a solution manifest file.

<Solution
  Description = string
  DeploymentServerType = "ApplicationServer" | "WebFrontEnd"
  ResetWebServer = "TRUE" | "FALSE"
  ResetWebServerModeOnUpgrade = "Recycle" | "StartStop"
  SharePointProductVersion = string
  SolutionId = string
  Title = string>
</Solution>

Elements and attributes

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

Attributes

Attribute Description
Description
Optional string. Specifies a description for the solution.
DeploymentServerType
Optional string. Determines whether the solution is deployed to a front-end Web server or to an application server.

Possible values include:
ApplicationServer
WebFrontEnd
ResetWebServer
Optional Boolean. TRUE to specify that the Web server will be reset.
ResetWebServerModeOnUpgrade
Optional string. Specifies the type of reset the Web server will perform on solution upgrade.

The values are as follows:
- Value: Action
- Recycle: Recycles the application pool.
- StartStop: Stops and starts the server.
SharePointProductVersion
Optional string. Specifies the version of Microsoft SharePoint Foundation.
SolutionId
Optional string. Contains the GUID for the solution.
Title
Optional string. Specifies the title of the solution.

Child elements

Parent elements

None

Example

For an example of how this element is used, see Solution schema.