Click here to Skip to main content
15,890,512 members
Everything / DevOps / TFS

TFS

TFS

Great Reads

by Raymund Macaalay
How to migrate Team Foundation Server's SQL Server to another SQL Server (same or new version)
by Suresh Malluri
Team Foundation Server is an ALM tool. It can be extended as per the business requirement. Controls can be created so as to populate them on the work item form. We can add additional business functionality by creating the controls. The API provided by TFS makes this possible.
by DannyVarod
Fast, stable and powerful creation of NuGet packages
by KevinPo
How to navigate and program against the Release Management API, even though it does not have official documentation.

Latest Articles

by Randy Kroeger
Build server fails when executing the Universal Download Task
by Mykola Tarasyuk
Bulk generation of tasks in TFS
by PlebProgrammer
How to retrieve TFS test case parameters in C#
by Santosh Vijay Patil
Continuous Testing using Newman (Postman) on TFS 2017 with Docker

All Articles

Sort by Title

TFS 

26 Apr 2015 by Herbisaurus
Why, when I select "get latest version" it does not really get the latest version. If I delete a local file, and I want it back, I select get latest ... only to find it does not get it. Instead I get an "All files are up to date" message. What up?
26 Apr 2015 by Mehdi Gholam
Read this for recovering files : http://geekswithblogs.net/TarunArora/archive/2012/11/26/how-to-undelete-files-in-tfs.aspx[^]
26 Apr 2015 by Joezer BH
TFS's get latest version actually gets only what files the server thinks you are missing or were changed. Thus if you want to get the latest version regardless of what the server thinks, you should select "Get specific version" and then check both of the Overwrite checkboxes.Cheers, C
10 Nov 2014 by Anil Kumar Ch
Hi friends,I am trying to install MTM using TFS. i am able to install MTM and connected to TFS. now for running automation i need to install test Agent and Test Controller. so while configuring test controller i am getting an error failed to obtain service account.error :Failed to...
4 Dec 2016 by Muhammad Magdi
Step by step guide to add pre and post PowerShell scripts to TFS2012 build
18 Nov 2013 by Gordon Beeming
How to add work item links from check in comments
21 Sep 2015 by Vishwaeet
Hi,I have created a visual studio online account and created a team project.Everything is working fine. I can access team project without error. I have created a build definition using the Hosted Build controller and hosted build agent.In build definition the Build Number format is...
23 Sep 2015 by Vishwaeet
I got the answer from the web link given belowhttp://stackoverflow.com/questions/32708478/adding-changeset-into-version/32731212#32731212[^]Please let me know if it is helpful for some other people.It helped me.
3 Mar 2015 by Sphe_G
Hi everyone. I have a real mind-bender here.I'm currently trying to set up a new machine environment to be able to work on projects for one of our clients. The reason for us doing so is that we will eventually be handing it over to their team to develop further, and we need to provide them...
10 Mar 2015 by Sphe_G
We seem to have sorted out the original issue by using the following code to handle parsing the value to Decimal:if (valueProviderResult == null) { return base.BindModel(controllerContext, bindingContext); } else { ...
6 Aug 2014 by DannyVarod
Fast, stable and powerful creation of NuGet packages
27 Jan 2014 by GustavoMartins
Automate your penetration testing using the pentest tool ZAP and the
14 Aug 2012 by Gary Stafford
Automate the creation of Task-type Work Items in TFS using PowerShell
1 Jan 2019 by NalaBI
Hi, I am new in testing. I have test cases already in TFS and I want to automate those Test Cases using Visual Studio 2017 version 15.9.3.The Associate Test Case is greyed out I cannot select. May you please assist in advising the workaround in finding the solution? Thanks in advance. What I...
14 Jul 2014 by Redgate Software
If you’re thinking about adopting database source control, or have a system but aren’t using it consistently yet, here are seven tips to avoid deployment disasters.
31 Mar 2017 by ergohack
Do you need to update everyone's TFS picture? Or set the notification email address for that calcitrant employee?
4 Mar 2017 by yuvalsol
Batch script that retrieves checked out and changed files from TFS and saves their paths to output file
20 Apr 2014 by Zhuyun Dai
Your build will fail if you print 'Error:' in your custom Build Events of Visual Studio.
6 Jun 2016 by soumyaraj
Hi All,I have a doubt in TFS.which would a proper structure in TFS to maintain a development team for a single project.In project where we are using JIRA.The structure should be like1,Branched Development Folder (for each developers).2,unit testing.3,testing (reject tasks should be...
19 Aug 2015 by virusstorm
I was recently placed on project that needs some tough love and care and one of my first actions is to setup continuous integration (CI). The problem I'm running into is the solution has a wide range of project types, all needed because of the way the application was designed, my MSBuild...
4 Feb 2013 by prathameshpitale
Hello,We use Remote Desktop to connect to our Application Development Server.(VS2012 and TFS2010 )We have Workspace define in our Server. The problem is, we need to Change Build path of the same project in different Workspaces. as it does not allow to build application in the same...
10 Apr 2013 by Gordon Beeming
Reading the comments on your post it seems like you should look at customizing the MSBuild, TFS Build isn't what you should be looking at. You could have a bat file that developers run and a bat file that gets executed for when you need to deploy or build to a different...
19 Jan 2015 by abinavshankar
Hi I have been doing some research work on Build-deploy-test using TFS2010 and I would like to know whether it is possible to change the deployment path at runtime ThanksAbinav
25 Oct 2017 by Sam_IN
In this article, I will explain step by step how to create Continuous Build and Release process for SQL Server Scripts for Database. All the steps are self explanatory with relevant screenshots.
20 Feb 2021 by Mykola Tarasyuk
Bulk generation of tasks in TFS
26 Jun 2013 by vidya2003
Hi, this question is related to the last change set id available in TFS, my query is , our tfs collection has multiple branches.I create a work space for each branch and build them.Now my question is: i wanted to know the last local changeset id of the workspace with which i builded the...
15 Sep 2011 by Bangla Gopal Surya Prakash
Hi,Can any one help me out in executing this code?string command = @" tf help > tfshistory.txt";System.Diagnostics.ProcessStartInfo procStartInfo =new System.Diagnostics.ProcessStartInfo(@"cmd", @" C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" + command);//...
15 Sep 2011 by Timberbird
Why don't you create your own .bat file with the commands required? This call seems too overloaded with parameters. You launch command processor which should execute .bat file (actually used to set environment variables and calling other .bat files internally) which shall receive your command...
15 Sep 2011 by Alan N
If you break the problem into steps you have1) Start the command processor2) run vcvarsall.bat3) run "tf help > tfshistory.txt"So you actually want to run two commands not one and that will require the use of the "&" operator. private static void RunCmds() { const...
27 Jul 2015 by Patrick Skelton
Hi,Apologies for the general nature of this question, but I'm struggling to find a good start to TFS in Visual Studio. Now that Microsoft offer a basic online account for free, I am keen to try out TFS as a simpler alternative to running my own Subversion system, but I can't find a good...
19 Aug 2015 by virusstorm
TFS is a beast, but it provides us with many wonderful tools. I've been a TFS administrator for the last six years and I wouldn't trade it for any other tool, but that is my opinion. :)If you are truly new to it, my suggestion is to start checking out a few books. An author I recommend is...
5 Dec 2013 by rakeshjena
previously i was working in workspace1, mapped my localpath in a folder in D drive.now i changed my workspace and mapped in E drive,got the latest version from server but while running a page the below error occurs plz help................The log scan number (36:237:2) passed to log scan in...
22 Oct 2012 by Shweta Lodha
Changes in Visual Studio 2012.
29 Apr 2013 by Walterls
This problem occurs when someone with admin permissions adds new iteration. Iteration is there but not all of other users can see new iteration. We use TFS 2010.I don’t know is it due to network or TFS settings. If someone had similar problem please share a working solution.
29 Apr 2013 by Meador
We solved this by deleting cache on server.Browse to \Microsoft Team Foundation Server 2010\Application Tier\Web Services\_tfs_dataFind all folders named with random GUID sequence and delete those folders.Everything should work now except you need to delete folders each time you add new...
1 Oct 2012 by mohsen_alikhani
How to change the default days off for all sprint in Team Foundation Server 2012(RTM)?
1 Oct 2012 by Sandeep Mewara
As mentioned here: Similar question at MSDN forum[^]It says:In the common process config settings you can change the weekend days.If you are on TFSPreview, you are unable yet to modify these settings. But if you are working on premise, you can change that with some steps provided at...
28 Oct 2012 by mohsen_alikhani
Please go to the path :\Program Files\Microsoft Team Foundation Server 11.0\Tools\Deploy\ProcessTemplateManagerFiles\1033\Scrum\Template\WorkItem Tracking\Process. Open the file CommonConfiguration.xml, and find the Weekends node, customize your weekends. By default, the settings...
24 Mar 2014 by sorosh04
Hi,In my country the weekend is Friday,How can I change the weekend days in TFS 2012 ?Thanks.
24 Mar 2014 by KumarSundeep
You can refer to below for your answer:Changing The Default Days Off Sprint[^]
18 Aug 2016 by Metaphysico
How to clone Test Suites with Test Case References
20 Feb 2014 by Suresh Malluri
Team Foundation Server is an ALM tool. It can be extended as per the business requirement. Controls can be created so as to populate them on the work item form. We can add additional business functionality by creating the controls. The API provided by TFS makes this possible.
24 Sep 2013 by 2irfanshaikh
VS 2012 Professional or lower versions do not have the Code Review module. To achieve this, I came up with a solution which will add a new work item type in TFS 2012. We will also learn how to create a new work item type in TFS.
16 May 2017 by Member 13187099
I want to review the code before it is checked in to TFS 2015. But I am not getting "Request Review" under the "Actions" tab. What should I do to get that option? I'm using TFS 2015 with Visual Studio 2012. What I have tried: Did not find any solution to add that option
16 May 2017 by Dave Kreskowiak
Click the "Home" button, click "My Work". The link for "Request Review" should be right there.
16 Dec 2013 by scott_liu
The codes may be helpful to those who are experiencing the migration of lots of applications
27 Mar 2014 by adityasahver
Hi All, I am trying to automate the build process of my application. I have properly given the build defination and the build is getting triggered at the specific time. But when the build is happening via TFS(msbuild) i am getting error - (179): No overload for method 'GetValue' takes 1...
13 Jan 2012 by prathameshpitale
Hello,I want to use TFS in two Different user Accounts of Same Computer,I am using Windows Server 2008 R2 with Remote Desktop.(VS2010)It works fine in First User, but when i try to Connect TFS from Second User, It gives error Solution is under Source Control (Already Mapped).If i...
1 Jan 2016 by HadyAllam
Use Microsoft Excel to generate TFS reports and Create/Modify Work Items
6 Aug 2017 by Gordon Beeming
How to connect Agents to TFS using Integrated Security on HTTP from external domain
31 Oct 2016 by Graham D Smith
A new way of working with Azure Resource Manager
1 Nov 2016 by Graham D Smith
How to configure a sample application for Git in Visual Studio 2015
8 Mar 2015 by Graham D Smith
Behind the scenes of the RM deployment agent
28 May 2015 by Graham D Smith
Steps that need to be taken to enable TIA in our development pipeline
3 Mar 2015 by Graham D Smith
Continuous Delivery with TFS: Save to a Folder for Stages You Can’t Yet Deploy to
5 Mar 2015 by Graham D Smith
Continuous Delivery with TFS: Standing up an Environment
4 Oct 2016 by Kausik J. Nag
In this article, we will optimize our continuous integration and development model with the use of JFrog Artifactory.
12 Sep 2013 by CPallini
(If I got you) You may find details on this documentation page: "Visual Studio 2012 Compatibility"[^].
21 Sep 2012 by Brian Fay
I am tasked with converting a .Net application from VSS to TFS (staying with Visual Studio 2008 for now) using VSSConverter.exe. I have followed the instructions (and sub-instructions) at http://msdn.microsoft.com/en-us/library/ms181247(v=vs.90).aspx. I was using the VS10 version of...
21 Sep 2012 by fjdiewornncalwe
My suggestion would be not to use the converter, but rather to create a static "starting" version of your solution and then simply check that solution into TFS as a new solution. Keep a backup of the old solution in VSS as a backup just in case as your new TFS solution wouldn't maintain the...
22 Oct 2018 by amnk.info
I tried to copy files to remote server by creating build step(Copy Files Over SSH) But i am getting this error when connect to this remote server. failed to connect to remote machine. verify the ssh endpoint details Error: Error: Timeout while for handshake I can connect this server using...
25 Jun 2018 by Member 13333663
I am building an app, which should have a functionality to copy files from a local folder and save it in TFS on a button click. I did lot of googling to get a solution for this purpose , I couldn't find an apt one. So, my question is, is it possible to add new files to TFS programatically using...
25 Jun 2018 by Kornfeld Eliyahu Peter
Team Foundation Version Control client API example for TFS 2010 and newer – Buck Hodges[^]
12 May 2015 by Brady Kelly
I'm really a total noob when it comes to TFS, having only ever done very simple rollbacks and commits. I now have a situation where I have some 'local' changes that I have shelved, but I would actually like to create a new branch on the main repo, so that other team members can access my...
12 May 2015 by virusstorm
As long as they are shelved, your team members can access your shelvesets. You just need to share the details of your shelveset with them. Check out this link, it will help you out:Suspend your work and manage your shelvesets[^]
13 May 2015 by Brady Kelly
I'm a git man most of the time, but I have suddenly been immersed into a TFS based project, where I have many changes I can't yet check into the trunk. In git I would simply commit all the time as normal, without pushing, but here I'm stuck with shelvesets or a new branch. I don't like...
20 Feb 2018 by OriginalGriff
Quote: please help me with the complete code what i can write It doesn't quite work like that. We do not do your work for you. If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there. But be aware: you get what you pay for. Pay peanuts, get...
2 Apr 2012 by Unareshraju
hi friends,i am working on Team Foundation Server-2010, so i want to perform the custom validations on desired work item. how can we deploy that using C# (note:not using power tools) please help to me.1)suppose if previous sprint end date has not closed.then not possible to create new...
11 Apr 2012 by Unareshraju
hi all,I am using Team Foundation Server 2010 to manage a project I am currently working on. and I am done with sprint one but the date initially set as sprint end date is 10 days in the future.How do I end the current iteration ? and How do I configure TFS to end the current iteration....
1 Aug 2013 by JainPrince
Hi,I am trying to customize the type of existing field of TFS bug template using TFS Power Tools.There is a field "Priority" of type int, my requirement is to change the type of this field to string.But i am getting following error message while uploading the customized bug...
23 Apr 2013 by Marco Chavis
Our database if full. We have some projects we don’t need any more, but I am sure we can delete some data from database manually to free more space.
24 Apr 2013 by Billy-TheKing
You can locate revisions and delete entire revision. Personally I don’t like to delete data manually, but if you want you can find revisions in tbl_content table. Use TFS admin console to delete projects you don’t need any more.
11 Jul 2012 by rushdi obeidat
when i tried to deploy a web application using the command window the following error occurred:-Error Code : ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDERMore Information : Unable to perform the operation ("Create directory") for thespecified directory ("C:\inetpub\wwwroot\myApp_Deploy").This...
11 Jul 2012 by Chandrashekar SK
Run the command prompt in administrator mode by right clicking on it and select "Run as Administrator".. This worked for me most of the time.. Give it a try..!
11 Jun 2012 by dhaval.upadhyay
I want to check whether a certain workspace already exists with TF.exe in batch file. tf workspaces will displays the list of all workspaces for all users on all computers, but if workspace is not created it will give error. Does tf workspaces work with if condition or with exist command in...
2 Feb 2015 by Yildirim Kocdag
This article helps you develop, test and deploy a custom comment check in policy for Eclipse IDE and Microsoft TFS. A plug-in should be written for comment checkin policy development
30 Jun 2016 by GAJERA
Hello AllDoes any one know VC++ 6.0 support Microsoft latest version control tool TFS?.Thanks,What I have tried:Serach on the google but not find the right suggestion.
30 Jun 2016 by KarstenK
The "oldie but goldie" VC++ 6.0 worked with Sourcesafe as version control and their is not interaction with TFS. The third Google hit lead me to wikipedia (where else) where is written "TFS supports Visual Studio 2010 and later" PS: I remember coding with VC 6 and the nice wizard ;-)
30 Jun 2016 by Sergey Alexandrovich Kryukov
Pretty obviously, VC6 is too old for TFS. If you have to use so obsolete IDE, I cannot understand why would you need TFS. You can use some good open-source Revision Control System. Some of them are very good, reliable and lightweight. I would recommend Subversion, git, Mercurial and some...
16 Aug 2014 by Manas Bhardwaj
Error during configuration of Scheduled Backups for Team Foundation Server
29 Jan 2013 by Member 9464235
Hello,i tried to build our Webproject with the TFS 2010, i created a build definition and started the build. At the end i get an error:error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets"...
3 Jun 2014 by Ayshine
I am having the following error in following code while trying to get workitem store . I searched everywhere but i couldn't find any solution please help :(TF31002: Unable to connect to this Team Foundation Server: http://hostname:8080/tfs/tpCollectionName/tpnameTeam Foundation Server...
4 Jun 2014 by johannesnestler
Try this:TfsTeamProjectCollection tpc = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(yourTFSUri);WorkItemStore workitemstore = tpc.GetService();
4 Jun 2014 by Ayshine
I changedTfsTeamProjectCollection tfs = new TfsTeamProjectCollection(TfsTeamProjectCollection.GetFullyQualifiedUriForName("http://hostname:8080/tfs/tpCollectionName/tpname/"));line into TfsTeamProjectCollection tfs = new...
4 Sep 2018 by sumangala k
c#, TFS, Get ChangeSet Files , Executable Utility
14 Oct 2015 by David Rousset
Since releasing babylon.js, the WebGL open-source gaming framework, a couple of years ago, we (with help from the community) are constantly exploring ways to make it even better.
11 Jun 2013 by Lebohang Danster
HiIs there any way to configure the TFS Team Explore - Code Review tool to use an external compare tool.I'm able to configure my TFS merge and compare to use Beyond Compare Tool but can't find options that allow me to do the same.Does anyone know if this is possible? if yes, how is...
5 Feb 2015 by Biswabid Rath
is it possible to filter all the added tables in a specific schema while doing schema compare(SQL schema compare) using VS2012?e.g : i want to find all the tables added in Dev DB with schema 'abc' and not present in Test DB using SQL-schema compare in TFS(VS2012).
14 Apr 2016 by Asmita Bhurke
Generate work items report from TFS including their associated changeset details
13 Feb 2019 by Surender Singh (CodeToastDev)
I work in a team that heavy supports full deployment procedures for .NET application maintenance projects. That means taking everything from TFS, build it and dump it on the Web server. It also requires overloading TFS with keeping every file from website including images, third party dlls, temp...
13 Feb 2019 by Richard MacCutchan
Best deployment strategy[^].
31 Mar 2014 by Grant Weatherston
OK was wondering if someone can offer advice, point me in the right direction:We currently use a DLL file across majority of our sites, we currently operate a development and production versions of each site. We develop code in our DLL and then reference that in the website, and access it...
31 Mar 2014 by Abhinav S
There is a term called publisher policy in .Net. This would allow you to allow put a new version of the dll and allow users to use the dll. Msdn link on this topic - http://msdn.microsoft.com/en-us/library/dz32563a(v=vs.110).aspx[^].
8 Jul 2014 by Member 10932416
I am having an issue with alerts in TFS 2012 and have posted on MSDN and Stackoverflow for help. I haven't been able to figure out the issue.I have created Team Alerts in TFS 2012 to send an alert to specific person on a team when a work item is assigned to them. The issue is that I am...
1 Apr 2015 by Nimit Singh Thakur
I want to Track all records of changes done in TFS it is working for me in VS2013. But I have just upgraded the solution from TFS2010 to TFS2013.I got error like "There Is no working folder mapping for tfs.." I followed the below url for tracking.TFS: Track All Changed Files in Source...
9 Jun 2015 by JainPrince
Created a build definition using TFS 2013 to run a scheduled build.And using SetupSiteForPublish.ps1 script in post-build script process to deploy the site on iis on a remote server.I am referring following 2 articles:Article1...
9 Sep 2014 by Shobhana.n
Secure VPN Connection terminated locally by the Client.Reason 442: Failed to enable Virtual Adapter.For above error I tried the solution available...