共用方式為


Solution Element (Solution)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Top-level element for a solution manifest file.

<Solution
  DeploymentServerType = "ApplicationServer" | "WebFrontEnd"
  ResetWebServer = "TRUE" | "FALSE"
  SolutionId = "Text">
</Solution>

Attributes

Attribute

Description

DeploymentServerType

Optional Text. 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 be reset through Microsoft Internet Information Services (IIS).

SolutionId

Optional Text. Contains the GUID for the solution.

Child Elements

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.

Microsoft.Win32.RegistryKey#4