I'm having trouble understanding how to publish the main ASP.NET application on the server using Webdeploy on TeamCity.
I installed the teamcity plugin for the dotnet kernel and completed two build steps:
dotnet recovery (as a command line step, built-in nuget timeout)
dotnet publish src / projectName / projectName.csproj
However, I am confused as to what to do for the third step, which should publish the result of dotnet publish on our server.
Traditionally, we will use MSBuild and customize the publishing profile, however I'm not sure if the .NET kernel uses MSBuild.
I have a publication profile as part of my solution that works successfully in VS2017. I looked at the TeamCity blog, which discusses how to configure TeamCity to use .NET Core, and although it mentions WebDeploy, it just mentions that it can be used with dotnet publish without explaining how to do it.
source share