Visual Studio + Team City deployment

0

Category :

High level overview:


On environment to be deployed to:

  • - create website on IIS
  • - Export publish settings file from website

Visual Studio

  • - create Build Conifguration
  • - create new Publish Profile by importing the publish settings file, remembering to rename the profile.
  • - create web config transform file

TeamCity

  • - create Project
  • - create build configuration
  • - add Version Control Settings
  • - add build steps


Possibly helpful article:

https://medium.com/monkii/how-to-deploy-asp-net-core-sites-using-teamcity-or-just-command-line-cf05fdee58f5
https://docs.microsoft.com/en-us/visualstudio/deployment/tutorial-import-publish-settings-iis?view=vs-2017