O'Reilly logo

Microsoft SharePoint 2010 Unleashed by Michael Noel, Colin Spence

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging a Visual Web Part

This section assumes that the previous section was completed successfully and the web part displays, as shown in Figure 29.23 (with the exception that most likely a different image displayed). To deploy the solution to a staging or production machine, follow these steps:

  1. With the SharePoint 2010 solution open in Visual Studio 2010, access the Solution Configuration drop-down menu on the Standard toolbar, as shown in Figure 29.25, visible just beneath the top menu bar, and change the configuration to Release. The next time the project is built, Visual Studio 2010 generates each project’s binaries (DLLs) without the debug symbols, making them optimized for deployment to production environments.

    Figure 29.25. Change ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required