Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPSolution.Deploy method

Deploys the language neutral solution.

  Name Description
Public method Deploy(DateTime, Boolean, Boolean) Creates a timer job to deploy the language-neutral solution at a specified time.
Public method Deploy(DateTime, Boolean, Collection<SPWebApplication>, Boolean) Creates a timer job to deploy the language-neutral solution 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.