Export (0) Print
Expand All

SPSolution.Deploy Method

Windows SharePoint Services 3

Deploys the language neutral solution or Web Part package.

  NameDescription
Public method Deploy(DateTime, Boolean, Boolean) Creates a timer job to deploy the language-neutral solution or Web Part package at a specified time.
Public method Deploy(DateTime, Boolean, Collection<SPWebApplication>, Boolean) Creates a timer job to deploy the language-neutral solution or Web Part package to the specified web applications at a specified time.
Top

If a solution contains assemblies you can set the DeploymentTarget attribute in the solution manifest to GlobalAssemblyCache to place assemblies in the global assembly cache, or WebApplication to deploy them to the bin directory. If the attribute is not specified, assemblies are deployed to the bin directory by default.

When deploying assemblies using the object model, no warnings are issued that assemblies are being installed into the global assembly cache. (When using stsadm, the -allowgacdeploymentflag flag is required, and when using the user interface a warning is issued that assemblies are going to be installed into the global assembly cache.)

To deploy a language package, see SPSolutionLanguagePack.

Community Additions

ADD
Show:
© 2014 Microsoft