Export (0) Print
Expand All

How to: Deploy Solution Files Using the Publish Wizard

The Publish Wizard enables you to deploy Microsoft Visual Studio 2005 Tools for the Microsoft Office System solutions to a Web site, network file share, or your local computer. It automatically creates an application manifest and a deployment manifest for the solution during the first deployment, or updates existing manifests.

To use the Publish Wizard to publish directly to the final deployment location, you must have permission to write to the deployment location. If business procedure requires separation of development and deployment, an IT administrator must deploy to the final location manually. For more information, see How to: Deploy Customizations Manually.

NoteNote

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To deploy office solutions using the Publish Wizard

  1. Right-click the project node in Solution Explorer.

  2. Click Publish on the shortcut menu.

    The Publish Wizard appears.

  3. In the Specify the location to publish this application box, type the path to the folder where you want to deploy the solution. Optionally, you can click Browse and navigate to the folder using the dialog box that appears.

    If you have Internet Information Services (IIS) installed on your development computer, the Specify the location to publish this application box displays http://localhost/<project name>/ by default. Otherwise, this box displays \publish by default. The \publish folder is located in the project folder.

  4. Verify that the path is correct, and then click Finish.

    The document, assemblies, and manifests are copied to the publish location, with the assemblies and application manifest in a subdirectory under the document and deployment manifest. For more information, see Deploying Document-Level Customizations and Deploying Application-Level Add-ins.

  5. Make changes to security policy so that each end user can run the solution. For more information, see Security Requirements to Run Office Solutions.

    NoteNote

    If you publish the solution to a folder under http://localhost and you want to run the solution from the development computer, you must grant full trust to the assembly by specifying the computer name in the assembly path, instead of "localhost". For example, if you publish a solution to http://localhost/ExcelWorkbook1, you must specify the path http://<computer name>/ExcelWorkbook1 when you grant full trust to the assembly.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft