Click here to Skip to main content
15,885,365 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 Updated

TFS 

28 Dec 2023 by CrazyMike1973
Environment: Azure DevOps Server 2022 19.225.34309.2 (AzureDevOps2022.1) I am prototyping an MS Azure DevOps Server on-premises setup. No issues installing the product until it came to the creation of Build Agents. I can see the Default Agent...
11 Sep 2023 by Rico64
I have a big TFVC repository on an on-prem TFS 2017 server. In that repo, I have a lot of different projects (SSIS, Redgate databases, Powershell scripts...). Some of these projects are using branches, some not. They are all well stored in a...
8 Sep 2023 by Mircea Neacsu
Let me google that for you: Google[^]
7 Dec 2022 by vinitgandhi
Please help me to resolve this error . TF400018: The local version table for the local workspace VINIT;Rakesh Kumar could not be opened. The workspace version table contains an unknown schema version. I have deleted my workspace folder many times and re-map projects in different location...
7 Dec 2022 by DaliborS
It is not The Solution. It is the same as when delete $tf folder.
25 Oct 2022 by Member 12423488
I am trying to create a workspace and map a folder to my local drive, I want a single file to be mapped to my drive (I am not able to get single or full folder as well in my local drive) Info: TFS 2015 .Net Framework 4.6.1 Visual studio 2017 I put 2 copies of code but both are not working. No...
25 Oct 2022 by Member 15809862
Hello, did you found a solution for you? I have the same challenge...
25 Oct 2022 by ♥…ЯҠ…♥
Hi All,I am using Visual studio 2010 ultimate, now I want to add AnkhSVN to visual studio for that I downloaded the same from internet and installed.Then only I noticed I cant find Source control option in Tools --> options menu.Only 4 options are listed below that1) General2)...
25 Oct 2022 by Suchitra Kuchipudi
Tools->Options->Web Forms designer->enable legacy webforms designer and Source view ->OK ->Restart the system It will display the Source button in bottom of editor
8 Jun 2021 by Randy Kroeger
Build server fails when executing the Universal Download Task
20 Feb 2021 by Mykola Tarasyuk
Bulk generation of tasks in TFS
22 Dec 2020 by samflex
Greetings, I am from the old VSS source code version control school and have decided to try Team Foundation Server Version Control. I recently created a project, checked in project files and decided to check out a file for editing. A...
5 Oct 2020 by Sandeep Mewara
Here, have a look at the steps here: Create the Delta Package with Azure DevOps Pipeline and GIT | DevOps Notes[^] High level, you need to: - Generate the changed files list. - Copy changed files. Quote: But it gives error "get-tfsserver :...
5 Oct 2020 by SachinPt
Hello, I am working on .Net Websites application. I want to create CICD pipeline which create the automated build package of only changed files (Delta changes) and not the full solution. I am using TFS Azure to create this pipeline. Please...
1 Oct 2020 by Gerry Schmitz
Sounds like you're in a minority. The chances of deploying the "wrong" files will probably depend on you. azure - How to build and release only the modified files using CI/CD pipeline in VSTS? - Stack Overflow[^]
1 Oct 2020 by SachinPt
Hello, I am working on .Net Websites application. I want to create CICD pipeline which create the automated build package of only changed files (Delta changes) and not the full solution. I am using TFS Azure to create this pipeline. Please...
1 Jun 2020 by Ravipualasa
My organisation is currently moving on TFS 18 from TFS 13 and my main issue is that that how do i transfer my defects logged. Both TFS13 and TFS18 will be on different server. Can anyone post a different way other than the tried method? Thank...
20 Mar 2020 by Niranjankr
Hi, I have done these step : a) Prepare new dedicated server. 2. Download TFS 2019 from Microsoft site. 3. Installed "Advanced" version. 4. Created new repo and commit changes throug TFS. 5. Added new agent through suggested by standared. 6....
5 Feb 2020 by PIEBALDconsult
OK, so my preferred Code Management System is CMS (it's an OpenVMS layered product, you've probably never heard of it, ten points if you've used it). In CMS, there is the concept of a Class (not related to OOP, read on). They're a very powerful feature for an enterprise-quality versioning...
25 Aug 2019 by Member 14025063
ON deploying from TFS 2015 to onpremise Server,it deletes empty folders in App Data Folder.I want to include the empty folders in AppData and set Read,write/full control permissions to that folder.I use WINRM IIS Web Deployment task. What I have tried: tried changing pub.xml with skip...
22 Aug 2019 by Member 14566359
We have 2 team projects in TFS 2015. The first one was the old version (Version-A) which is from Visual Source Safe before which was successfully migrated to TFS 2015 without losing history. Then, there is this new another project(Version-B) which is the latest version of the old project...
11 Jul 2019 by totlec7
I have a standalone TFS server machine version Tfs2018.Update3.RC that has recently been migrated to another physical machine. I also have several remote test servers that I deploy selenium tests to via the Release Pipeline with Deployment Groups and remote agents installed on each of the...
18 May 2019 by PlebProgrammer
How to retrieve TFS test case parameters in C#
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[^].
4 Feb 2019 by OriginalGriff
Well ... SQL Server 2017 Express Edition | Microsoft[^] - it's free, so no licence cost, and you should be developing against an Express version anyway. Developing / testing against the production DB server is a good recipe for "Oh f*ck" moments and production downtime while databases are...
4 Feb 2019 by Member 14129661
I have got many integration unit test in my solution. I need to run those on a build server in TFS. But the build server doesn't have SQL server installed in it and also the business is not ready to install it due to license cost. Is there any other SDK or components that can be installed...
17 Jan 2019 by Member 14121946
I want to just clone config files from different branches in TFS to my local repo. I am unable to do so just for one particular file type. What I have tried: What I did is that I quick clone the entire code of the application and then remove all the other files other than the config. I just...
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...
18 Dec 2018 by ahmed_sa
Problem When check in in tfs file it not included on project on source control ? i worked on tfs and there are 10 person connected when i make check in to file from my computer it not show on another computer when another users make get latest version this file i do check in to it not show...
18 Dec 2018 by RakeshAlajipur
Hi, Whenever you add new files to the solution, you have to checkin whole solution in TFS not file by file checkins. Go to source controller in TFS and right click on the solution and do checkin, there you will get ".csproj" file in the pending changes list, compare the file and checkin. In...
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...
18 Oct 2018 by Santosh Vijay Patil
Continuous Testing using Newman (Postman) on TFS 2017 with Docker
4 Sep 2018 by sumangala k
c#, TFS, Get ChangeSet Files , Executable Utility
18 Aug 2018 by Member 13451046
when i use visual studio 2015 and login for TFS it give error. given linq below show what type of error it give. tfs - Visual Studio 2015 not login - Stack Overflow[^] What I have tried: when i use visual studio 2015 and login for TFS it give error.
5 Aug 2018 by a.mohamedyasin
I am trying to shelve pending changes for a document file in TFS (TFS 2015) web portal, is it possible ? If yes pls assist me What I have tried: I can able to download / Edit files in tfs web portal and also commit, but i cannot able to Shelve pending change.
1 Aug 2018 by amnk.info
I got this error in Windows Event Viewer TFS installed server. TF53010: The following error has occurred in a Team Foundation component or extension: Date (UTC): 8/1/2018 11:33:11 PM Machine: ADDO-TFS Application Domain: /LM/W3SVC/2/ROOT/tfs-4-131769645742379284 Assembly:...
25 Jun 2018 by Kornfeld Eliyahu Peter
Team Foundation Version Control client API example for TFS 2010 and newer – Buck Hodges[^]
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...
24 Jun 2018 by amnk.info
I want to how to enable disable TFS login for specific user. I have 50 users i need to allow login to only 2 users for small time period. Is it possible to in TFS 2018? What I have tried: Disable login to specific user in TFS
4 Jun 2018 by amnk.info
I'm using Visual studio 2017 and TFS 2018. I got this error when TFS build (mobile-xamarin). I had added Agent following capabilities * AndroidSDK - C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Xamarin * Xamarain.Android - C:\Program Files...
15 May 2018 by Member 12969131
Dear All,I am currently working on Selenium Web-driver automation using Java for my regression tests. The reporting tool used in Team Foundation server(TFS) 2015.I know that TFS supports Continuous Integration and can be integrated with Selenium.I would need help to know on1.How can...
15 May 2018 by Member 13827998
Hi ..are you able to intergrate this? I have a same situation... can you please help by sharing your knowledge
7 May 2018 by Wendelius
The first question is, is the database still in recovery? Ensure that the restore has been completed and the database is opened. See: How to: Restore a Database Backup (SQL Server Management Studio) | Microsoft Docs[^] Also check that the database name is configured correctly in TFS in case...
7 May 2018 by amnk.info
After Restore Database 2015 to 2018 TFS. I got this error. TF246017: Team Foundation Server could not connect to the database. Verify that the instance is specified correctly, that the server that is hosting the database is operational, and that network problems are not blocking communication...
4 May 2018 by Member 13811678
I fixed this by renaming the $tf hidden folder in our working directory
2 May 2018 by amnk.info
after restore database from tfs 2015 to 2018 i got this error when trying to load TFS. TF30046: The instance information does not match. Team Foundation expected 5261d5c6-6187-436e-8ead-81efc82c2616 which was not found. Please contact your Team Foundation Server administrator. What I have...
30 Apr 2018 by Maciej Los
Follow the instruction from: How to fix error TFS error TF30046[^]
30 Apr 2018 by Maciej Los
You have to follow the instruction from: How to fix error TFS error TF30046[^] Do not repost next time. It's rude!
30 Apr 2018 by amnk.info
I had rename TFS Server name. after that i can't connect to the Team foundation server, i got this error. "Team Foundation Server could not connect to the database" (TF246017) What I have tried: I tried to connect Team foundation server
30 Apr 2018 by amnk.info
i have 2 servers one have TFS 2015 and Other one have 2018. I tried many times to restore 2015 to 2018, But not success. I can't stop 2015 server to take backup Because it is a live database. So i got backup from SQL server and try to restore to SQL 2017. Database successfully restored but I...
26 Apr 2018 by Maciej Los
Follow these: Move Team Foundation Server from one hardware configuration to another | Microsoft Docs[^] Restore data to a different server than the current one for TFS | Microsoft Docs[^]
20 Apr 2018 by OriginalGriff
Looks like you have upgraded too far - the database server running your TFS system is expecting a lower level database version.
20 Apr 2018 by amnk.info
I had update TFS 2015 version 3 to 4.1 Now i got this error when connect tfs TF401054: The requested service level property TFS_SERVICE_LEVEL did not match the expected value. Team Foundation Server requires the Dev14.M114.1 service level but the database currently implements Dev14.M113 What I...
17 Apr 2018 by Richard MacCutchan
Restore the server name to what it was. The original name is what TFS will be trying to connect to.
4 Apr 2018 by vishal_h
Hi All, I have face one problem with SQL Server Data Tools (SSDT) and database project which is manage by TFS. If some one forgot to check-in db script after ALTER the script [ like alter of store procedure ] then it leads to inconsistent script on DB server and DB project which is under...
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...
30 Jan 2018 by Quest Software
If you wanted to ramp up database DevOps, which development tasks would be most important for you?
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.
24 Oct 2017 by KVPalem
TF400017: The workspace properties table for the local workspace >:> could not be openedException of type Microsoft.TeamFoundation.VersionControl.Client.InvalidWorkspacePropertiesTableException was thrownWhat I have tried:updated
11 Oct 2017 by Member 11066147
Hi All, I am trying to configure Build Agent on TFS Server.But I am getting following error when I run config.cmd.I am Using Windows Server 2008 R2 and TFS 2015 on TFS Server machine. The Error message is - "PS C:\agent> .\config.cmd Failed to load the dll from [C:\bin\hostfxr.dll], HRESULT:...
16 Aug 2017 by ergohack
Reason-Based State transitions for TFS WorkItems provides better usability and flexibility over the current State-Based transitions that place the collection of the Reason as secondary and often optional.
6 Aug 2017 by Gordon Beeming
How to connect Agents to TFS using Integrated Security on HTTP from external domain
28 Jul 2017 by ergohack
This is an article on how to post automated test results to Microsoft's Test Manager Infrastructure from external sources (e.g. your home grown automated test harness).
10 Jul 2017 by Tzuriely
Hi, i am trying to update result of test case in specific run that i build. This i what i am send: http://es-tfs01-il:8080/tfs/EssenceCollection/Automation/_apis/test/runs/262/results/100001?api-version=3.0-preview with this json: { comment = "This is a comment", outcome = "Passed", testPoint =...
1 Jul 2017 by Mr_cool
Hello, I have been using VS 2012 for quite long now. But now I need some new features. Which version shall I use? I'm looking forward to use community editions of VS and TFS. Also, will SQL Server 2008 (Professional) work fine with the higher versions or shall I try latest express edition...
1 Jul 2017 by OriginalGriff
2017 is slower than 2015, and 2015 is slower than 2013 - so if you want speed, go with 2013. However, you won't get the features and languages / language extensions you get with later versions, so upgrading your computer might be a better bet depending on your needs. We can't provide links to...
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.
31 Mar 2017 by ergohack
Do you need to update everyone's TFS picture? Or set the notification email address for that calcitrant employee?
24 Mar 2017 by Mehul M Thakkar
I want to call a wcf service from my Tests. The service is running in same network with different domain. So to call that I need different windows user account who has permission of that service.In my test case, I have used LogonUser API for impersonation. It is working fine to run tests...
4 Mar 2017 by yuvalsol
Batch script that retrieves checked out and changed files from TFS and saves their paths to output file
7 Feb 2017 by pgshsf
Is there a way to do the following things using NUnit and TFS?1.Retrieving the test cases parameters from Team foundation server/service;2.Then map it to an interface or class;3.Executing the test methods based upon the test case parameters which are downloaded;4.Finally updating the...
11 Jan 2017 by Ema112
I want to set check out prompt in TFS. While running my application in VS 2013 solution getting checked out automatically. In VSS by going to Tools settings it worked fine.But in TFS not found a suitable option.What I have tried:I want to set check out prompt in TFS. While running my...
11 Jan 2017 by johannesnestler
Hi Ema112,Maybe you found it yourself in between - but the needed option can be found in the VisualStudio Options Dialog - under SourceControl/Environment - set the comboboxes for save/editing to the setting you like. Btw, I don't think this is a good idea to do with non-locking...
8 Jan 2017 by Member 12940596
found out that if you delete $tf you will lost all your pending changes and need to re-get latest.If you can still find the *.tfb files, then delete all the *.tf1 files and rename all tfb to tf1
27 Dec 2016 by Member 9193636
just delete the $tf (hidden) folder in your source location and try get latest
4 Dec 2016 by Muhammad Magdi
Step by step guide to add pre and post PowerShell scripts to TFS2012 build
20 Nov 2016 by Anton Angelov
Learn how to modify the default TFS builds' template and add options for NuGet packages restore. Add a dedicated restore packages settings' section.
1 Nov 2016 by Graham D Smith
How to configure a sample application for Git in Visual Studio 2015
31 Oct 2016 by Graham D Smith
A new way of working with Azure Resource Manager
26 Oct 2016 by KVPalem
we are getting below error when trying to run automation build using TFS 2015.C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(2884,5): Error MSB3325: Cannot import the following key file: console.pfx. The key file may be password protected. To correct...
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.
15 Sep 2016 by Dominic Burford
Creating releases and deployments using Team Foundation Server 2015
5 Sep 2016 by Pradip Kumar Sen
I am using Microsoft Release Management for Visual Studio 2013 Update 2. i have setup deployer using ReleaseTfvcTemplate.12 template. this setup is deploying the code as expected but only problem i am seeing is it is not taking latest version. it is taking previos version of build for...
29 Aug 2016 by krishnaprasad62
I am able to fetch list of "Edit, Merge" type change sets on a TFS branch and now I wanted to get the source branch name from where changes have been merged. Could any on help me regarding this please. I tried using QueryMergeRelationships method, but no luck.What I have...
19 Aug 2016 by Member 10838442
The easiest solution is to create a new working directory. 1. Rename the old one.2. Delete the Current active working folder from working folders: Source Control Explorer>Workspace Edit > Working folders3. Create the working folder again.4. Get latest version of your solution.
18 Aug 2016 by Metaphysico
How to clone Test Suites with Test Case References
18 Aug 2016 by Metaphysico
Clone a TFS Work Item and Its Children with links
16 Aug 2016 by TheSniper105
hi i always using git as source control now i'm using TFS 2013 i used to use Jenkinswith source control to deploy to server whenever there is new commit and merge on serveri'm looking forward to that feature in TFS when deploy publish to remote serverusing specific publish...
8 Aug 2016 by Eren Yatkin
Is there any way to connect TF Online from VS 2008 ? I did some search and I found this article ArticleWhat I have tried:I tried to found team explorer in vs2008 and I failed to find it.
5 Aug 2016 by Duncan Edwards Jones
I have a visual studio online repo (TFS) that I use for my "CQRS on Azure" stuff but folks are looking for a GitHub version so they can contribute - is it possible to set something up to keep them both in sync?I want to keep the "fast ring" on TFS but push to GitHub as a build step on a...
5 Aug 2016 by calway
Have a look at git-tfs[^] which seems like a reasonable way to keep two repo's on the different plaforms in sync. It's not that hard to setup and use.
4 Aug 2016 by Dominic Burford
Adding unit tests to a Team Foundation Services 2015 build