Condividi tramite


Solution Element (Solution)

Applies to: SharePoint Foundation 2010

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>

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:

ValueAction
RecycleRecycles the application pool.
StartStopStops 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

ActivationDependencies Element (Solution), ApplicationResourceFiles, Assemblies, CodeAccessSecurity, DwpFiles, FeatureManifests, Resources, SiteDefinitionManifests, RootFiles, TemplateFiles

Parent Elements

None

Example

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