After having planned and organized your work and created your Git repository, you should now configure a VSTS build pipeline, which will allow you to do continuous integration of your application:
- Open Visual Studio 2017 and go to the Team Explorer tab, then click on the Builds button:
![](https://static.packt-cdn.com/products/9781788476638/graphics/assets/8ff5ba94-7337-4e1d-8b3d-a0747465c03b.png)
- Next, click on the New Build Definition link:
![](https://static.packt-cdn.com/products/9781788476638/graphics/assets/d123e3de-f790-4d25-9751-eb88f586ccd9.png)
- The VSTS website is opened and you are presented with a choice of build definition templates, select the ASP.NET Core template:
![](https://static.packt-cdn.com/products/9781788476638/graphics/assets/2358629e-1535-4611-9b81-913112a3a768.png)
- In the new build definition, enter a name and select your default agent queue. We recommend using Hosted VS2017:
![](https://static.packt-cdn.com/products/9781788476638/graphics/assets/51b4a9f9-b3b2-4556-8383-8dfc45b80e42.png)
- For choosing a source repository, click on Get sources. For our example, we use the default values (This project, Branch: master, Clean: false):
![](https://static.packt-cdn.com/products/9781788476638/graphics/assets/88688c19-9915-46c2-9768-8be1068c7078.png)
- To enable continuous integration, click on Triggers in the build definition menu, then click on the Enable this trigger button...