Skip to Main Content
Essential SharePoint 2007, 2nd Edition
book

Essential SharePoint 2007, 2nd Edition

by Jeff Webb
September 2007
Beginner content levelBeginner
448 pages
10h 2m
English
O'Reilly Media, Inc.
Content preview from Essential SharePoint 2007, 2nd Edition

Deploying Web Parts

The Visual Studio web part extensions automatically create an installation script in the project's bin\Debug folder when you deploy your web part project during development. To build a release version:

  1. Click Build → Configuration Manager, select "Release from the Active solution configuration" drop-down list, and then click Close.

  2. Click Project → Properties → Debug, and enter the address of your development SharePoint site in Start Action (as shown earlier in Figure 11-4).

  3. Click Debug → Deploy. Visual Studio rebuilds the project in Release mode, creates the setup script, and deploys the web parts to your development machine.

  4. Edit the setup.bat script created in the bin\Release folder to change the TargetUrl.

To deploy the web parts on a production server:

  1. Copy the Release folder to a public share.

  2. Log on to the target server.

  3. Run setup.bat from the Release folder copied in step 1.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Office SharePoint® Server 2007 Best Practices

Microsoft® Office SharePoint® Server 2007 Best Practices

Ben Curry, Bill English
SharePoint 2007: The Definitive Guide

SharePoint 2007: The Definitive Guide

James Pyles, Christopher M. Buechler, Bob Fox, Murray Gordon, Michael Lotter, Jason Medero, Nilesh Mehta, Joris Poelmans, Christopher Pragash, Piotr Prussak, Christopher J. Regan

Publisher Resources

ISBN: 9780596514075Errata Page