Visual Studio Team Services (VSTS) offers a nice set of tools for CI builds. In this blog post I’m going to show you how to setup a automatically triggered build environment for basic ASP.NET MVC web project. CI builds aren’t restricted for ASP.NET web sites only, but I think that type of project is one of the most common.
Setting up build
Log into VSTS site and select project from dashboard, or create new one. I’m creating a new project in this post
Creating new project will take a while, but after it’s completed you have a version control system and work mangement task board setup. Next link the given Git url into Visual Studio by finding the project from Visual Studio Team Explorer (Click Manage Connections in Visual Studio Team Explorer and log in with same account as the VSTS project was made).
Next create a new ASP.NET MVC solution or use existing one to get something to use in builds:
Commit your code into source control and push master branch.
Check Code > Files tab to ensure that you have your code in source control.