Feb 21

What is PDB file for .net code?

Every time i do a software build whether it is a private build [local machine] or public build [build machine] there are files i always remove it, actually there is a job to remove those files specially PDB files, so what is this files and how i can use it?

Program Database Files (PDB) are files we use to debug our application and it is  almost  Continue reading

Feb 14

Getting Started with Microsoft Test Manager 2010 – Part 1

It’s really a great effort from Microsoft when they introduced a separated IDE for testing. Testers now can create their own test cases, test scenarios, test scripts, test plans, test configurations and perform a manual/automated tests using the testing IDE called Microsoft Test Manager (MTM).

MTM IDE is available when you install VS 2010 Test Professional or Ultimate edition. You can download the trial version of Visual Studio Test Professional from here:
http://www.microsoft.com/download/en/details.aspx?id=24988

MTM is fully integrated with team foundation server 2010, you can integrate a test plan with your development plan as a part of Application Life cycle Management (ALM) to have a full life cycle of software development. Continue reading

Feb 13

Get Queued Build using TFS API

In this post i will show how to get running build in all builds controllers / Agents.

TFS explorer shows the running build information for each TFS projects one by one, suppose you have many TFS project in your single collection and you want to track whats running now, you will send a lot of time to select all all build definitions and while you finish may other build has triggered. Continue reading

Feb 13

Clone Build Definition using TFS 2010 API

When you branch from Main or Dev branch you will move all source files and artifact to the new branch since build architecture will be the same. You have the option to create or clone the build definition. Personally i prefer to clone the parent build definition instead of creating new one because may you have a specific configuration for that build and you don’t want to lose it or create it each time.
For more information about branching architecture you can refer to this link http://vsarbranchingguide.codeplex.com/

Below is the code how to clone the build definition using TFS API Continue reading

Jan 18

Remove User Security Permissions from TFS

  • Before going to this, make sure you remove all user pending changes from TFS version control [last post]
  • List all application groups, using TF SECURITY [tfssecurity /im n:[user ID] / /collection:http://[servername]:8080/tfs/[CollectionName]]
  • If you got [Error: The identity cannot be resolved that means (User not exists in TFS or User already deleted).
  • Remove application group : [tfssecurity /g Continue reading
Jan 18

Manage Global List in TFS API 2010

GLOBALLIST is shared XML configuration across all team projects for a specific team project Collection, we can you use it for many workitem types to share the same list.

Usually when you want to add/remove item from the GL you would use the command line tool (widadmin) or if you install team foundation power tools [TFPT] you can import/Export using Continue reading