Go to your project and select Set Up Build option Select ASP.NET Core template Give a name to your build and select Hosted 2017 for TFS online to build project remotely