Skip to main content

Overview Visual Studio Team Foundation

[PLACEHOLDER]

By: Carlos G.

In my previous article (Bug tracking-CI-Source Control withVisual Studio TFS and Atlassian) we talked about TFS and Attlasian products.

In this occasion  I present an overview of Microsoft Visual Studio as an alternative for your team to collaborate and develop the cool apps for your clients.

From this Microsoft link I extracted the following: "Visual Studio Online, formerly Team Foundation Service, is the home for your project data in the cloud. Set up an environment that includes everything from hosted Git repos and project tracking tools, to continuous integration and an IDE, all packaged up in a monthly per-user plan. Connect to your project in the cloud using your favorite development tool, such as Visual Studio, Eclipse or Xcode."

With Visual Studio Team Foundation you would have source code control, project management, and team collaboration platform at the core of the Microsoft suite of Application Lifecycle Management tools.

I recommend you to go here  for a complete documentation if you are interesting of using Visual Studio Online.

Each Visual Studio Online account comes with five free Basic users and includes shared monthly resources for build and load testing. It has a limitation of 60 minutes per month for build (which I found this a limitation for this service but not the end of the world for everything else you are getting) and 15,000 virtual user minutes per month for load testing.

First you need to start with an account. If you don’t have it then create an account at http://www.visualstudio.com/

If you don’t have Visual Studio on your PC then download and install it. If you don’t have a license then you can start by using Visual Studio Express for Web and you should be able to connect to Visual Studio Online.

In my case I’m using Visual Studio 2012 Professional and I already have my account https://carlosgomezlabs.visualstudio.com

 Note: it is best if you combine it with Visual Studio 2013 on your PC, but as I said before I did this article using 2012. I’ll try to update this article later on when I do the upgrade.

If you are using VS 2012 like me then download the Visual Studio team foundation Server with Update 4: http://www.microsoft.com/en-ca/download/details.aspx?id=38185

In this example I’m using Git as my source control. You can have local repositories and from other 3rd party vendors (gitHub, Bitbucket) and then merge them and Push it to the Git repository of your Visual Studio Online. In this example I only have my local repository and the remote master in my carlosgomezlabs.

Ok Let’s see some screen-grab and go through it:



The CODE section: here you would see your committed code.



The WORK section:
In the backlog items you can enter the bugs and updates required for your product.







By drag and drop you can move the items from the backlogs into the Sprints. Here is a screen-grab of one of the items that can be assigned to one of the Sprints as a task to fulfill with the release.



The BUILD and TEST sections.
You can create builds for your code and the test cases around them can be manual or automated.
Note: In this document I’m going as far as showing the BUILDS. The test case can be something for another day.

Now that we show quickly the online tool let’s go to the Visual Studio 2012 installed on the PC and open your Team Explorer. Connect to your Visual Studio online and select the project that you are working on.



Then clone the Git repository:
Now there is a local repository on the machine. You are also able to commit to the repository on Visual Studio Online. You are also able to see the items assigned to the team (features or bugs from the backlogs or the sprints coming from the WORK section of the Visual Studio Online). See the image below. On the left side bottom you can see the open tasks. On the right side you see the repositories.



Finally let’s take a look at the BUILDS:

You can run your Builds manually or you can configure the build to run every time there is a commit of the code from the members of the development team.

Here are the main screens for configuring the build process:



  1. Click on new build definition. Give it a name and set the Queue processing
     

  2. Set the trigger. In this case it is for Continuous integration (CI).
     
  3. In the source settings section I left it to get the source from the Team Foundation Git provider setup for this project.
     
  4. For the build defaults this demo is set for only build (compile) but not outputting the files to a physical drop folder.
     
  5. The process section was the one that gave me more issues as I was having issues by putting the correct Solution build path. I tried $/testing/ConsoleApplication1/ConsoleApplication1.sln and other settings as other examples that I saw on tutorials (granted most of them were for version 2013 and I’m using Visual Studio 2012). Finally what worked for me was using this format: [project folder name]\[solution name].sln

  1. The final step was for me to try (after 16 errors for this simple demo) the build:


Other good reads about Visual Studio TFS below:
- Scott Hanselman 
- Post from MSDN blog by  Matthew Mitrik (MS), Andy Lewis, and Martin Woodward
 

Trending posts

Democratizing AI

Democratizing AI is all about empowering others to use it, by making it available to them. Audiences, such as marketers in a company, will be able to access AI capabilities as part of their MarTech solutions, without the need of being technical. It could also be schools, where the younger generations are learning how to use it in responsible, secure, innovative, and creative ways. This is the year where companies, after discovery phases and teams experimenting, are looking to activate and take advantage of the AI advances. Generated with Microsoft Designer   And so, questions emerge, such as “What to democratize when leveraging AI?” There are common scenarios, as well as specific ones, that will depend on the company, and the industry they belong to. A common scenario, seen in many industries, when democratizing data is the data visualization and reporting . In digital marketing, as an example, data scientists and data analysts can automate reporting, making them available to the c...

Productivity framework for 2024

Recently I was at a Christmas party and I found myself giving advice to a friend on being more productive. I shared the approaches that I take which helped me become more productive at work and in my personal life. The conversation with my friend inspired me to share my approaches in this blog .  Photo by Moose Photos from Pexels   My productivity framework has five key pillars and to remember them I use the mnemonic, POFOR = P lan your tasks, O rganize yourself, F ocus on your tasks, O ptimize yourself with habits and R eflect to ensure you are being productive on the right tasks. Plan Planning is very crucial as it sets the tone for the rest of the pillars. I always found I was more productive when I planned my tasks compared to when I didn’t, and hence planning has become my rule of thumb. I recommend taking 30 minutes at the end of each day to plan your next day. This means prioritizing your tasks and blocking your calendar accordingly. By not doing so, you are at risk o...

SRE, DevOps and ITOps

 If you are wondering what the differences between the SRE and DevOps are, as well as how these roles work with ITOps within an organisation then you are not alone; and best of all you are on the right blog post. Often enough business units in a company get confused, assigning the ServiceNow or Jira tickets or any other ticketing system of your preference, to the wrong group, and even having the incorrect expectations when doing resourcing. Let us go through definitions, insights and scenarios that will help you understand the difference. DevOps software development operations - AI Generated When it comes to DevOps and SRE, then you might be wondering which practice came first. While SRE may have originated a bit earlier, internally at Google, DevOps came first publicly as a practice and started to be used by companies. A few years later was when Google decided to open SRE to the world after the publication of the "Site Reliability Engineering" book. Therefore, technically sp...

Effective framework to resolve conflict in the Workplace

 Conflicts are a part of our daily lives and are often unavoidable at work. Therefore, it's essential to have the tools to effectively manage conflicts and leverage them to our advantage - to spur new ideas, challenge and strengthen our beliefs, and evolve our perspectives when necessary. However, conflicts often trigger our fight-or-flight response and can cause chronic stress and mental fatigue and diminish our productivity. Having the right tools can help us face conflicts confidently.  AI Generated with Microsoft Copilot + Designer by Beolle   Recently, I took a course from Harvard ManageMentor® * to enhance my conflict resolution skills. I summarized the key takeaways from the course in the framework below to help you better prepare for resolving conflicts. The framework consists of six (6) parts Identify the type of conflict   Identify your own and your counterpart's conflict styles   Determine how you want to address the conflict   Prepare to resolve...

This blog uses cookies to improve your browsing experience. Simple analytics might be in place for pageviews purposes. They are harmless and never personally identify you.

Agreed