The options to publish a project
Visual Studio has two ways to access the Publish option and then display the possibilities incorporated to deploy a project.
In the menu, we can access this option by navigating to Build | Publish [Project name]. By default, the main project in the current solution is selected, as shown here:
Another possibility is to right-click on the project that we want to publish in the Solution Explorer tab (see Figure 10.2):
Whatever the chosen option, Visual Studio will display a modal window to give you the deployment types supported for the main project in the solution or the project selected, as illustrated in the following screenshot:
Let's review these...