|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
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.
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.
To deploy office solutions using the Publish Wizard
Right-click the project node in Solution Explorer.
Click Publish on the shortcut menu.
The Publish Wizard appears.
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.
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, seeand .
Make changes to security policy so that each end user can run the solution. For more information, see.
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.