FAQ Database Discussion Community


Why are my TFS build labels disappearing from the global list after 10 builds? And why do they have a slash in the label?

tfs,tfs2013,build-definition
My build retention policy deletes Details, Drop Folder, and Symbols only, after 20 successful builds. However, my Global List with build labels is only retaining the last 10 builds. All builds were being retained in the global list before my recent upgrade from TFS 2010 to TFS 2013. I have...

Branching Refresh in Visual Studio in TFS Online using Git

git,visual-studio-2013,visual-studio-online,tfs2013
I am using Visual Studio online as my source repository and have chosen git for source control. I have created a new branch named as "Branch1" and published it in the server. I want the fellow developer to get this branch in his visual studio and work with this. But...

How to change default settings for source control in TFS?

tfs,tfs2013,multiple-checkout
In my TFS server when ever I create a Team Project my default settings for Multiple Checkout is enabled and for Get latest on check-out is disabled. I want to set these to Multiple Checkout: disabled and Get latest on check-out: enabled. How can I change default settings for source...

How to increase Work In Progress (WIP) limit

tfs,visual-studio-online,tfs2013,scrum
In the product backlog items board, there's this WIP display 5/5 for approved PBI and 2/5 for commited PBI How can I increase the WIP limit of 5?...

TFS 2013 Global List build items have extra slash

tfs2013
In TFS 2013, builds get entered like this in the global list: (build definition)/(version) whereas before in TFS 2010 they were like this: (version) This is causing a big headache for us, the only way we have found to fix this is to manually edit each build list item after...

Associate Xcode Commits with TFS 2013 Work Items

xcode,git,tfs2013
I'm testing out the new Team Foundation Server 2013 Git integration from an Xcode project. The basics are working fine, but I'm trying to determine if I can associate a commit with a TFS work item without leaving Xcode or using additional tools. I found this screencast which shows that...

TFS 2013 Build Agent target .NET version

.net,tfs,tfsbuild,tfs2013
I installed a TFS 2013 and configured the build service, but I am trying to build an old application that was written on .NET 2.0. Each time I run the build I receive this error: <link-to-file> (24): Reference required to assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' containing the base class 'System.Web.UI.Control'....

Ability to vote on User Story?

tfs,tfs2013
I would like my stake holders to be able to vote on user stories or features in TFS 2013 (or 2015 if this is coming?). The end result is so I can see how much interest there is in a given idea and help prioritize work. This seems like something...

Get the teamproject collection from a WorkItem

c#,tfs,tfs2013,tfs-sdk,tfs-workitem
I want to add the WebPageControl to a WorkItemType and need to define the Teamproject collection of the current Work Item as a path parameter of the URL. The WebPageControle shows a C# Webapplication. Is there a field like System.Teamproject or an other way that gives me the Teamproject collection?...

Is it possible in TFS 2013 that only the author of a Work Item is able to change the Status to “Done”?

tfs,tfs2013,tfs-workitem
The company I work for just started using Team Foundation Server 2013 and it is my Task, to find answers for the open questions in our Team. By doing so, I found a problem I can't solve. Is it possible, that only the author/creator of a Work Item is able...

Azure hosted On-prem build controller + VSO: Error TF400106: Failed to register the build service (Exception Message: Could not find service)

azure,tfs,visual-studio-online,tfs2013,build-controller
I'm currently installing a TFS2013 SP4 build controller to run automated builds of my Visual Studio Online repository. The readiness check is OK, but during the configuration I get an error and the following description: "TF400106: Failed to register the build service" In the log file I get the following...

Could not copy. The process cannot access the file because it is being used by another process

tfs,msbuild,tfs2012,visual-studio-online,tfs2013
I am getting the following error when running my build on Visual Studio Online (using the built-in Build Controller): C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (3962): Could not copy "d:\a\src\MySolution\MyProject\Trunk\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.xml" to "..\Build\bin\Release\Microsoft.Data.Edm.xml". Beginning retry 1 in 1000ms. The process cannot access the file '..\Build\bin\Release\Microsoft.Data.Edm.xml' because it is being used by another process. It...

Releasing multiple projects for one solution

tfs,tfs2013,ms-release-management
I have a Visual Studio solution with one SSRS project, two SSIS projects, one SSAS project and one SQL Server project. I'm using TFS2013 Update 4. I'd like to deploy this solution using TFS Release Management in two environments. First environment should be "populated" after the developer's check-in and in...

TFS 2013 view files and folders in TWA

visual-studio-2013,tfs,tfs2013
I'm using Team Foundation Server 2013 which is connected to VS 2013. In the source control explorer, I've mapped folders to projects and it displays all the necessary files in VS so should I be able to view the associated files in TWA under the code tab when I navigate...

Creating tfs label from changeset doesn't work

tfs,tfs2013,changeset,tfvc
I'm trying to create a label from a changeset using the Advanced -> Apply Label option, then specifying a changeset version in the version field. Once I've done this and view the label, the displayed changeset is not the one I selected, and when I drill down into it (right...

How to refresh updated opened work item from TFS 2013 server side plugin?

tfs,tfs2013,tfs-workitem,team-explorer
I am trying to create TFS 2013 server side plugin which will transition the work item state depending upon certain fields. The fields are being updated correctly, but not refreshed as the work item is opened in client (VS team explorer). I need to manually press the refresh button to...

Missing workspaces after TFS 2010 to 2013 Migration Upgrade

visual-studio-2013,tfs,tfs2010,tfs2013,tfs-migration
I'm currently trying to migrate and upgrade a TFS2010 instance running on a server (SERVER_A) in a workgroup to TFS2013 on another server (SERVER_B) that's on a domain. Everything seems to work ok, but when I open Visual Studio and try to connect to the new TFS instance and retrieve...

Can a TFS Product Backlog Item be moved to a new project?

tfs,tfs2013
I have a PBI in TFS under ProjectA with an iteration and area value filled in. Is it possible to move this PBI to ProjectB without creating a new PBI? I am not seeing a way in the Visual Studio UI to do this. If I try to manually type...

Upgrading separate Project Collection Database to new TFS Version

visual-studio-2012,tfs,tfs2012,tfs2013
I have 2 TFS Servers, one running TFS 2012 and another 2013. I have to move one collection from the 2012 to the 2013 version, but when I backup and restore it in the appropriate SQL server and click on the Attach Collection button, the TFS says that it can't...

Multiple computers sharing one TFS workspace

tfs,tfs2013,tfvc
We've got a pair of terminal servers for a team of developers to share and I would like to configure TFS so that each user's workspace can be mapped to a network drive and available on both terminal servers. Basically, I want it to not matter which server they've on,...

Programmatically access tfs build output

vb.net,powershell,tfs,tfsbuild,tfs2013
I'm trying to write a powershell script to allow a user to specify a tfs build id (or alternately a changeset id) and download the build output to the current directory. I have the build configured to copy the output to the server, which means only the most recent build...

Download a specific TFS build from the command line

tfs,tfs2013
Are there any TFS command-line utilities to download the .zip file for a specified build that exists in TFS? I know the most recent build can be found in the specified drop folder, but let's say I wanted to go back to some arbitrary build. I know I can do...

TFSBuild call in Powershell throwing error

powershell,tfs2013
I get the following error in powershell ISE: tfsbuild : The term 'tfsbuild' is not recognized as the name of a cmdlet I have tried the full path of tfsbuild, but then I still get an error. C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\tfsbuild start /collection:"http://xxxx:8080/tfs/DefaultCollection" /builddefinition:"yyyy/zzzz"...

How to query BackLog items. Filter by childs state

visual-studio,tfs,tfs2012,tfs2013
How to create query in TFS 2013 for Backlog items, which have all tasks in Done state except task with name "Test it". To clarify, I'm looking for Backlog item 1 from picture. ...

When to mark a work item blocked versus creating an impediment work item in TFS2013

tfs2013,scrum
Our team is going to start tracking our roadblocks (or impediments) better but I see that there are Impediment work items and there is the Blocked dropdown in a task. When would I simply set a task as blocked vs creating a new Impediment work item?

TFS Build 2013 - Cannot resolve primary reference

visual-studio-2013,tfsbuild,tfs2013
I'm evaluating TFS Build 2013 for use in a corporate environment. TFs itself has been running fine for ages, and today I setup the Build components. No problem so far. I grabbed a fairly simple project from source and created a manually triggered build definition, using the standard defaults. I...

What permission controls the Iterations checkbox in TFS 2013?

tfs,tfs2013
I would like to grant a user the ability to check and uncheck iteration checkboxes for a specific iteration path in a TFS 2013 Team Project. This person is a scrum master and would like to be able to manage the iterations that appear in the Team backlog. I have...

Delete link from a changeset from a code review in TFS 2013?

tfs,tfs2013
Is it possible to delete the link between a code review and a changeset in TFS 2013? We are on TFS 2013 Update 3 and are using Visual Studio 2013 Update 4. A colleague checked in a code change but mistakenly typed in the wrong work item ID, thus associating...

Newly created build process parameters not showing up

tfs,tfsbuild,tfs2013
When I add a new parameter in the Process Parameter Metadata Editor, checkin my changes, and go back to edit the definition or queue a build from it, the parameter is not showing. Here is the parameter in the editor: Other custom parameters I added in the past show up...

Read Process Template Version and TypeID in an ISubscriber plugin for TFS

tfs,tfs2013,tfs-sdk,tfs-process-template
I'm setting up a TFS ISubscriber plugin and I want to be able to decide whether to trigger based on the installed Process Template Name (DONE), TypeID and Version. The code to read the name is relatively straightforward: var ics = context.GetService<ICommonStructureService>(); string ProjectName = string.Empty; string ProjectState = String.Empty;...

When you install TFS on the application tier, does that affect the databases on the data tier?

sql,tfs,tfs2013
I only installed TFS 2013 on the application tier and didn't go through the configuration wizard to upgrade to 2013.2. Do I need to restore any databases if I restore a snapshot of the application tier? (Does just installing new bits of TFS on the app tier affect the data...

TFS 2013 Dashboard contributor graph like in github

tfs,tfs2013,tfvc
Is there a way to show a graph of repository contributors in TFS 2013 dashboard like github shows as shown here : About Repository Graphs ETA: I need graph for TFVC...

Error compile tfs indexed source

tfs,build,tfs2013
I am getting the next error when i try build in TFS2013: Indexed source information could not be retrieved from C:\Builds\2\Company\Solution\Binaries\Antlr3.Runtime.pdb. Error: Symbol indexes could not be retrieved. the files exist in path. thank you for your help...

Having trouble enabling the NuGet version of XUnit.NET on Team Build 2013

.net,tfsbuild,tfs2013,xunit.net,nuget-package-restore
I would like to use Xunit as a test framework. I've created test project, added two nuget packages (xunit and xunit.runner.visualstudio) and everything works great. Visual Studio discover tests. But how can I configure TFS 2013 build to discover that tests? What's the proper way to do that? I found...

How can I add an existing test suite to test plan in Test Manager

tfs,tfs2013,microsoft-test-manager
In TFS 2013 I have a test plan named "Release 6.2". I also have a test suite named "Sprint 2015-02". I try to add the test suite to the test plan via Test Manager by selecting the test plan and clicking on the "Add Requirements" button. I select the test...

msbuild error building sql clr dll in TFS

tfs,msbuild,tfsbuild,tfs2013,sqlclr
We have SQL CLR dll that we developed quite a long time ago that we have been using. Unfortunately it wasn't ever in our normal daily builds.We are going to be upgrade our sql server from 2008 R2 to 2014. So i opened the project and upgrade it to a...

TFS Build Activities associated code

tfs,tfs2012,tfsbuild,tfs2013
LabDefaultTemplate-> ExecuteRemoteTestRun2 doesn't take in account the Order field of the test in the MTM Referring to this post, what is the way to view the associated Execute method for any CodeActivity. As I could see the ExecuteRemoteTestRun2 is a built in activity and how did the author get to...

TFS2013: where diagnostic log stored if no drop location specified?

logging,tfs,tfs2013,diagnostics
We recently upgrade our TFS instance from TFS2012 to TFS2013. On our remote build server, we got below error Randomly: "An error occurred while copying diagnostic activity logs to the drop location. Details: One or more errors occurred." Our build do not have drop location specified, so I am wondering...

TFS 2013 Build - An error occurred while copying diagnostic activity logs to the drop location. Details: One or more errors occurred

tfs,tfs2012,tfs2013
After TFS upgrade 2012.4 -> 2013.4 builds finish with status 'Partially succeded and with below error: An error occurred while copying diagnostic activity logs to the drop location. Details: One or more errors occurred. Builds are conifgured to not use drop folder - so it's not permission issue. Any ideas...

Team Foundation Server 2013 trigger build for pull request

git,visual-studio-2013,tfsbuild,tfs2013,pull-request
How to configure TFS to run a build (which is a CI build) for every pull request (when is created and updated). The scenario that I would like to have is that when a developer completes its work and pushes a branch to GIT (on TFS) it would be nice...

What is the safest path and order of operations for TFS 2012 to TFS 2013 or TFS 2015 RC upgrade and hardware migration?

sql-server,tfs,tfs2013,tfsintegrationplatform,tfs2015
I have a working TFS 2012 installation. It runs SQL Server 2008R2 and whatever version of SharePoint that comes with TFS 2012. I would like to migrate to one of: TFS 2013 or (preferably) TFS 2015 RC. I would prefer TFS 2015 RC unless there is either a bad hurdle...

How can I configure a TFS 2013 Build Definition to Overwrite when it does its Get?

tfs,tfsbuild,tfs2013,team-build
I've written a TFS 2013 Build Definition using TfvcTemplate.12.xaml, set it to trigger on each check-in and to not clean the workspace. When the build runs it modifies certain source files under source control when the build runs. If I then check-in changes for a file that was modified on...

TFS query for tasks with no parent

tfs,tfs2013
I would like create a Flat list of work items query in TFS in which the results contain all of the specified PBI and Bug cases and any Task cases that have no parent. It's that Task with no parent part that has me perplexed. I cannot see a way...

How to unblock a blocked task in TFS 2013

tfs2013
How do you change the Blocked status of a task from Yes to No? We don't see No as an option in the dropdown after we set the Blocked state to Yes. I have searched Google and SO to no avail....

tfs 2013 incremental build number across build defenitions

msbuild,tfs2013
I am wondering how you could implement a incremental build number that is shared by several different build definitions. For example, I one build definition for our staging environment which has a build number of say 15.3.6.1. I then queue a build for production, different build definition, I want that...

“witadmin destroyid” command does not work with multiple ids

tfs,tfs2013
Despite the documentation indicating that multiple work item IDs can be added in a comma-delimited list, whenever I try the following command I get an error: witadmin destroywi /collection:<my collection url> /id:134,135 results in: TF212000: 135 is not a valid argument for this command If I execute the same command...

Visual Studio Online: How to create a build definition with MVC Unit Testing that accesses a remote server?

sql-server,unit-testing,azure,visual-studio-online,tfs2013
I am currently using: Visual Studio 2013 for development Visual Studio Online for builds/testing MS Build An Azure VM to house an MVC web app and SQL database The current project is an N-tier MVC application with an MVC Test project. The application runs on the Azure VM (in the...

How can I tell what will be updated if I use “Get Latest Version”?

visual-studio,visual-studio-2013,tfs,tfs2013,tfvc
I have a Visual Studio solution and am using TFS for version control. When I've made a bunch of changes to my working copy of the solution, the Team Explorer window will show me all the files that I've changed, and allow me to compare my version with either the...

What are work areas used for with the scrum methodology

visual-studio,tfs2013,scrum,tfs-workitem
On visual studio online there is an option to configure work areas. I created a project and it uses the "Microsoft Visual Studio Scrum 2013.4" process template. I started entering work items into the project and found an option to configure work areas, I'm not sure how to use work...

How to disable default day-off in Team Foundation Service capacity calender?

visual-studio-2013,tfs,tfs2013,scrum
I want to add capacity of my team members to TFS sprint capacity, But Sat & Sun are'nt day-off in my country. Can I disable day-off for this calender?

cannot modify .csproj files using build auto with tfs 13

build,workflow,tfsbuild,tfs2013,workflow-activity
I created a workflow activity named EditCsproj which is a C# class that I added to my build template. I put it right after the Initialize Workspace step. This workflow has to get all .csproj files in the directory path that I provide as a parameter and it has to...

How to add a custom process template to TFS 2013?

c#,visual-studio,tfs2013
I am new to TFS. Can any one tell the steps to add a custom process template to TFS 2013?

Should I avoid baseless merges in TFS?

tfs,tfs2013,branching-and-merging,baseless-merge
Simple question perhaps, but one I'm having a hard time finding the answer to. I often work at a client that uses TFS as source control and they completely avoid using the baseless merge feature of TFS source control In part because in the past it required a command line...

Where has BuildStep gone?

visual-studio-2013,msbuild,tfsbuild,tfs2013
I'm reusing 2010 tfs build scripts in TFSBuild 2013. I've had to remove my BuildSteps because the task is no longer valid! What is the recommended alternative to logging progress to the TFSBuild 2013 "Activity Log" ?...

Change the default build template for TFS builds

visual-studio-2013,tfs2013
Recently we upgraded from TFS2010 to TFS2013, which added a new build template default that we wish to use for all builds. However, the default being provided when we select "Default Template" is the old TFS2010 build template. How do I change the file that is used as the 'default...

Replacing TFSBuild.proj files with TFS 2013

c#,tfs2013
I'm trying to upgrade our TFS server to 2013. We're currently using 2012, but we've also been clinging on to the upgrade template for dear life. With 2013, we'd like to go to the default template and modify it as little as possible. The problem comes in when you consider...

get logged in username

tfs,tfs2013
I am trying to get the logged in user name of TFS 2013 in my custom control. We use basic windows authentication for tfs. var tfs = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(http://YourTfsUrl:8080/tfs/Collection), new UICredentialsProvider()); tfs.EnsureAuthenticated(); var versionControl = tfs.GetService<VersionControlServer>(); var loggedInUser = versionControl.AuthorizedUser; ...

VisualStudioOnline NuGet Restore now built in?

msbuild,nuget,visual-studio-online,tfs2013,nuget-package-restore
Is the Host Controller on Visual Studio Online now automatically restoring NuGet package before calling MSBuild? Previously I had to manually execute the following: nuget.exe restore MySolution.sln Now, when creating a new build in a new project, I noticed that I didn't need to do this. When looking at the...

What do I need to get Microsoft.TeamFoundation.Framework.Client.dll?

visual-studio,visual-studio-2012,tfs,tfs2013
I am using visual studio 2012 and tfs 2013. The problem i am facing is Microsoft.TeamFoundation.Framework.Client.dll is missing. But i have other dlls such as Microsoft.TeamFoundation.Client,Microsoft.TeamFoundation.WorkitemTracking.Client. Can anyone tell why the dll is missing? Is there any way to resolve the issue. Thanks in advance.

How can I get value “RequestedBy” in tfs 2013 build?

tfs,tfsbuild,tfs2013
In tfs 2010 build, it's easy to get that vale using "BuildDetail.RequestedBy". what's the equivalent in TFS 2013? I couldn't find "BuildDetail" even.

Escape comma in TFS work item query

tfs,tfs2013
I need to query for work items assigned to one of multiple people, but the comma in the names seems to make this query not work. In the image below, I want to query for work items assigned to "Smith, John" and "Doe, John" Is there a way to do...

Adding columns to scrum board

tfs,tfs2013
I am using TFS2013 and have spent a lot of effort editing the Task WIT process to allow two new states for my tasks... "Testing" and "Blocked"... I have edited the Task.xml file on the server and successfully added the two new states and the valid transitions to and from...

TFS Migration Risks

visual-studio,version-control,tfs,tfs2010,tfs2013
I would like to create a new installation of TFS 2013 on a new server. I made my research and learnt that the migration process as it is described on this link below carries some risks: TFS Migration Manual: https://msdn.microsoft.com/en-us/library/ms404869.aspx Risks: http://blogs.msmvps.com/p3net/2014/04/12/tfs-upgrade-nightmares/ I have a plan to avoid using the...

How do I get list of all users in TFS 2013

c#,visual-studio-2012,tfs,tfs2013
I am using Team Foundation Server (TFS) 2013 and Visual studio 2012. I need a list of all the user in TFS. Is there any way to get all the users in TFS using C#?...

TFS Work Item configuration - concatenate multiple fields to 1 string field

tfs,tfs2013,tfs-workitem,tfs-process-template
I've noticed, as we've started customizing TFS work item types, the workarounds that we have to do to have TFS support some basic tasks. One thing that we are trying to do is have a field that consists of concatenating 3 other fields. For example: New_Field = Field_1 + ",...

How to get the tfs build folder name, generated inside dropfolder while running the TFS build

tfsbuild,powershell-v3.0,tfs2013
Created the TFS build definition and scheduled to run automatically. Also copying the build output to a drop folder at server location(\server\TFSBuildOutput). When build runs, a separate folder is created inside drop folder(\server\TFSBuildOutput) in the format - $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.r) Now i want to get the name of this newly generated folder...

Migrate from German TFS to VSO

visual-studio-online,tfs2013,opshub
We're running a German TFS 2013.4 on premise and want to move to Visual Studio Online. The OpsHub migration tool stops with a template mismatch. I ran the TeamProjectManager tool (https://teamprojectmanager.codeplex.com/) and compared our template to the VSO template. The fields are there, but their names are different, one is...

“Features” link missing on TFS backlog page for particular user

tfs,tfs2013
I've just set up a new project in TFS2013 using the "Microsoft Visual Studio Scrum 2013.3" template. If I browse to the team backlog page I can see features and backlog items: Unfortunately our product owner can only see the backlog items - features are missing from the page: We...

Detect TFS Build vs. Visual Studio build

visual-studio-2013,tfs,tfsbuild,tfs2013
Is it possible to detect whether or not the current build is executing from Visual Studio rather than an automated build with TFS without creating a separate solution configuration? I'm wondering if I can exclude certain Post Build Events if the build is running on TFS 2013, but if possible...

Visual Studio Online: No Reports on Team Server possible?

excel,visual-studio-2013,tfs,visual-studio-online,tfs2013
I have a Visual Studio Online Professional Licence I'm using the Team Server (of the online edition, i.e. in the "cloud"). In Excel 2013, I have the the "Team" Add-in; using this, I can connect to the Server, and I can retrieve basic lists. However, when I try the...

TFS 2013 Resolve conflicts when i want to keep both methods?

c#,visual-studio-2012,tfs,tfs2013
I have to perform a merge in two projects (c#) and in the old .cs version and the new .cs version, there are two methods that i want to keep, but if i check the source and the target the methods are mixed up in the result. How this is...

Whats the real benefits of using the TFS Build 2013?

powershell,tfs,msbuild,tfsbuild,tfs2013
http://www.alexandervanwynsberghe.be/whats-new-in-tfs-2013-build/ I've only recently learned of the new TFS Build 2013 workflow. XAML and PowerShell, neither of which I want to use. We have a couple of thousand lines of msbuild script which does everything imaginable from change the version number to create help files. I've struggled for the past...

TFS 2013 Builds Check-in Policy

visual-studio-2013,tfs,tfs2013,checkin-policy
We are developing a project and we use VS 2013 and TFS 2013 Express for version control. In team project source control settings I created two check-in policy. First is changeset comment policy that works and builds check in policy that requires last build was successful. But I think builds...

Adding files to Team Foundation Server from web interface

tfs,tfs2013
Is it possible to add a new file (or new version of a file) to a TFS project via the web interface without using Visual Studio? There are some code artifacts, such as PS1 scripts, which we may want to keep under source control, but the owners of such files...

TFS Lab Management Default Template Build Number

tfs,tfsbuild,tfs2013,lab-management
I am in the process of trying to understand TFS Lab Management but unfortunately do not have an environment for trying it out. My understanding is that when using Lab Management you use two build templates. A normal build template associated with your solution and a further 'master' template for...

Checkin changes to another branch then we're currently working on

visual-studio-2013,tfs,tfs2013
We've checked out and edited a lot of files on the main branch (new data framework). Now we decided we need a feature branch because it will take more time than planned to finish this task. Can we checkin the edits into a new branch? It's ok if it needs...

Is it possible to copy build files to multiple drop folders on TFS?

asp.net-mvc,visual-studio,visual-studio-2013,tfs,tfs2013
I have two web servers that I am testing with some MVC applications. When I create a build definition in Visual Studio I would like to utilize two drop folders (one on each server) but this doesn't seem possible. I know there are a lot of ways around this by...

TFS Build Services, environment variables and multiple build agents

tfs,msbuild,tfsbuild,tfs2013
I have a MsBuild process that start as part of build using TFS Build Services 2013. I need to pass a few parameters to this process (for example the build number). I've done this previously by modifying the build template and added these parameters to the list of parameters sent...

Visual Studio 2013 Professional with TFS 2013 Express

visual-studio,visual-studio-2013,tfs,tfs2013
I've done some research and found out that TFS 2013 has some limitations like no reporting, single server deployment, 5 devs etc. But I wonder if there would be any problem with using VS 2013 Pro with TFS 2013 Express. To sum up : Is there any problem with one...

How can I change the “connect to team server as” user in TFS 2013 server?

tfs,tfsbuild,visual-studio-online,tfs2013,team-build
In Team Foundation Server 2013 I cannot seem to change "connect to team server as" user. TFS server is pointing to our Visual Studio Online https://ourtfs.visualstudio.com/defaultcollection and the the account that the TFS server is using to checkout code is also "Account Service (ourtfs)" even though there is no such...

TFS 2013 Object reference not set to an instance of an object in Team Explorer

tfs,tfs2013
I have a couple of TP in a single TPC in a TFS 2013 server. Everything was working normal until yesterday I started to get errors when getting the latest version. The error is: "Object reference not set to an instance of an object" when getting file $collection/folder/file.dll Its like...

What is the purpose of the Test Plan's “State” field in TFS?

tfs2013,microsoft-test-manager
What's the purpose of the test plan's State field? Even if the value is set to Inactive it's still possible to run the test cases from that test plan. I would like to prevent the testers to run test cases from test plans that are linked to past iteration....

TFS with SonarQube, no product projects, only test projects

sonarqube,tfsbuild,tfs2013
I have installed SonarQube on my local development machine by following installation guide: SonarQube Installation Guide for Existing TFS Environment.pdf. The build is succesfull. The project is added to the dashboard. But there was only testcoverage data. I have 4 projects in my solution, 2 of them are unittest projects....

TF.EXE history is off by one if the changeset only contains deletions

visual-studio-2013,tfs2013
I want to get the current changeset id in my workspace. This problem is solved in "Get current changeset id on workspace for TFS". tf history . /r /noprompt /stopafter:1 /version:W This works in almost all cases. However, this fails if the current changeset contains ONLY deletes from TFS. This...

How can i get Team City builds to show up in TFS's build explorer

tfs,teamcity,coded-ui-tests,tfs2013,mtm
So here's the setup we have right now 1) We use TFS2013 for our code repository 2) We use TeamCity to do our builds 3) we have our tests created in CodedUI From what I've read online is that for the CodedUI tests to run automatically, they need a build...

Deploying a WCF Web Service inside a TFS Build

wcf,iis,tfs,tfs2013
I have a number of WCF web services that I am trying to deploy to a directory structure on a TFS Build. The project structure looks something like this: Services Directory (svc.sln) - Project1 (project1.csproj) - Project2 (project2.csproj) - Project3 (project3.csproj) - ServicesProject - Project1 - Project1.svc - Project2 -...

VS 2013 TFS : Multiple users working on same file

tfs2013
We are using VS 2013 TFS. We have multiple programmer working on one file at a same time. Is there any better approach we can use where we don’t lose others work and we all can work in harmony? We tried branching but unfortunately, it doesn’t support intelisense.

Days left colomn in Backlogs/Queries view

tfs,tfs2013
Is there a way to add a Days left to the Finish Date date in the Backlogs/Queries view?

Sync TFS workitems so same WI is shown in two team projects

tfs,synchronization,tfs2013,tfs-workitem
Our team has an a TFS project in which we keep all the teams work. Sometimes some from our team are involved in another project that has it's own TFS project. The tasks that the people from our team does on the other project are in their own area. Is...

TF10175: The My Project team project does not exist

visual-studio-2013,tfs,visual-studio-online,tfs2013
I deleted a Team Project from Visual Studio Online. We were using the repository in source control with Visual Studio 2013. Since deleting it, everytime I load up Visual Studio, I get the following message in general ouput: The server returned the following error: The project with id '{myid}' does...

VSO and multiple projects for a single product team

tfs,agile,visual-studio-online,tfs2013,scrum
We have a team of around 10 developers working on a new product. We have split this product into two team projects on Visual Studio Online. Developers can work on both projects during any one sprint. Although we have two team projects, the entire team works together as one agile...

Nunit tests are not found on tfs 2013 although NUnit test adapter package is used

unit-testing,tfs,nunit,tfsbuild,tfs2013
I have a simple application and Nunit unit test project with 2 tests to test that app. I've managed to have unit tests discovered and run locally in Visual studio 2013 but when trying to build application and run these unit tests on TFS 2013 test runner does not find...

Cannot dynamically set workspace mappings for custom build

tfsbuild,tfs2013
When I run the following a new build is queued but does not have my new mappings. TfsTeamProjectCollection server = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(collectionUri)); IBuildServer buildServer = server.GetService<IBuildServer>(); WorkItemStore workItemStore = server.GetService<WorkItemStore>(); Project teamProject = workItemStore.Projects[projectArea]; IBuildDefinition buildDef = buildServer.GetBuildDefinition(teamProject.Name, buildDefininition); IBuildRequest requestedBuild =...

Connecting to TFS through TFS API using client certificate authentication

tfs,tfs2013,client-certificates,tfs-sdk,x509certificate2
I want to connect to my TFS from a non-domain-joined machine (Azure role), so that machine must somehow authenticate to my TFS. I know how to do it with username+password, but I'd rather not save that on the machine. So, I want to Configure my TFS for client certificate authentication,...

visual studio 2013 GIT ignore list doesn't ignore dlls

git,visual-studio-2013,gitignore,tfs2013
I am using Visual Studio Online GIT repository on Visual Studio 2013, for some reason my project bin, obj directories and other Dlls and Pdbs are not ignored in change tracking. Here is my .gitignore file, I tried all suggestions found online, like adding .tfignore and other stuff, nothing really...

Microsoft Test Manager 2013 automatic tests

visual-studio-2013,tfs2013,microsoft-test-manager
I’m using TFS2013 with Visual Studio 2013. I’d like to use Microsoft Test Manager 2013 (MDM) to make a plan. When I create a plan, I want two different kinds of suites. One is for the manual tests, and the other is for the automatic tests. These last ones are...

VSO: Single project with a tiered area structure?

tfs,tfs2010,tfs2012,visual-studio-online,tfs2013
Historically we have always had separate VSO Projects for each logical project undergoing development. This is particularly important as we need to have separate backlogs for each project. Each project has its own Product Owner. We have a team of around 10 developers who work between these projects over 2...

Decline code review in TFS

code-review,tfs2013
We are using Visual Studio 2013 and TFS 2013. I helped another team member develop some code which he sent out for a code review. I added a comment to his code review. Unfortunately I did not realize that adding a comment would automatically update me to accepted status. Per...

what's the meaning of this icon in TFS 2013

visual-studio-2012,tfs,tfs2013
After a merge the icons reprensenting folder a has change to this yellow icon representing one parent folder and a child one (With the label Appls beside) : Anyone has an idea what's the meaning of this icon? All the other folder icon are normal....

TFS 2013 Git Build Definition with TFVC Source

tfs2013,git-tfs,git-tf,custom-build,tfvc
In TFS 2013, is there any way to create a custom build workflow (via a custom .xaml file) which uses source from both a TFS-Git project and TFVC project? When creating a Build Def in a Git project, the Source Settings tab only allows selection of a single Git repo....