共用方式為


How to: Build SharePoint solutions

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Build your SharePoint solution is no different than building other applications in Visual Studio. For more information about building applications, see Compile and build in Visual Studio. For a discussion of some considerations that are specific to SharePoint solutions, see How to: Deploy and publish a SharePoint solution to a local SharePoint site.

To build SharePoint solutions

  1. Decide whether you are making a debug or a release build. For more information, see Debugger Project Settings.

  2. Choose the appropriate option for building or rebuilding your solution or project. For more information, see Compiling and Building in Visual Studio.

  3. On the menu bar, choose Build > Build Solution.

See also