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...

Small Language Models

 Open source models will continue to grow in popularity. Small Language Models (SLMs) are smaller, faster to train with less compute.  They can be used for tackling specific cases while being at a lower cost.  Photo by Tobias Bjørkli via Pexels  SLMs can be more efficient SLMs are faster in inference speed, and they also require less memory and storage.    SLMs and cost Small Language models can run on less powerful machines, making them more affordable. This could be ideal for experimentation, startups and/or small size companies. Here is a short list Tiny Llama. The 1.1B parameters AI Model, trained on 3T Tokens. Microsoft’s Phi-2. The 2.7B parameters, trained on 1.4T tokens. Gemini Nano.  The 6B parameters. Deepseek Coder

Key insights from "Atomic Habits" by James clear

I recently finished reading "Atomic Habits" by James Clear. The book was incredibly insightful. If you are looking to improve your habits, and achieve results while you are at it, then this book is for you. It may help you form new habits, and break bad one. Without further due, here are my top three takeaways. Photo by Nataliya Vaitkevich via Pexel, adapted by Beolle Takeaway 1:  The habit-forming loop: James outlines that the habit-forming loop consists of four stages Cue . The cue triggers the brain to expect a reward and is crucial for building automatic habits. It is typically associated with time, place, or feeling. For example, feeling bored could be a cue to the habit of using social media. Craving . This is the urge resulting from the cue. Using the above example, opening the social media app is the craving initiated by the cue of boredom. Response . An example of a response is the action of opening the social media app and using it. Reward . An example of reward i...

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