Create a release profile for a ASP.NET Web Application

This post will walk you through creating a release profile in your ASP.NET Web Application, which can be used for CI/CD on VSTS.

  1. Right click on your web project and select Publish…
  2. Then click Custom as the target.
  3. Name the profile Release
  4. Select Web Deploy Package as the Publish method.
    Package location of
    And Site name of __SiteName__

    And click Next
  5. Select your release configuration. I use Release which is the default.

    And click Close
  6. Click Yes to save the configuration you just created.
  7. Finally, in the solution explorer, right click on the Release.pubxml in the Properties > PublishProfiles folder and select Add Ignored File to Source Control…

Leave a Comment

Your email address will not be published. Required fields are marked *