Posted on Leave a comment

ASP.NET Web Deployment using Visual Studio: Deploying to Test | Microsoft Docs

  1. In Solution Explorer, right-click the ContosoUniversity project (not the ContosoUniversity.DAL project) and select Publish.

    The Publish Web wizard appears.

    Publish Web wizard Profile tab

  2. In the drop-down list, select <New…>. (With the latest Visual Studio update installed, there is no drop-down list, and the button to click in order to create a new profile from scratch is Custom.)

  3. In the New Profile dialog box, enter “Test”, and then click OK.

    The wizard automatically advances to the Connection tab.

  4. In the Service URL box, enter localhost.

Source: ASP.NET Web Deployment using Visual Studio: Deploying to Test | Microsoft Docs