tfs,tfs2010 , Most recent changes done to the project


Most recent changes done to the project

Question:

Tag: tfs,tfs2010

I have couple of projects in which one or more files have been updated. These updates need not change the *.proj file but the overall project dll is changed.

Each project can have multiple folders and each folder can have multiple files.

Is there a way in TFS to know which file was when updated last?


Answer:

If you want to simply see a list of changesets, then you can by going to:

That will give you a list of all changes.

You can get a more fine grained control of this using the:

tf history

Command; something like this:

tf history /recursive $/Project

I believe that if you wanted to list each file then you would have to go to the API.


Related:


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

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

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

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

What are Epics in regard of Features and Backlog Items in Team Foundation


tfs,agile,visual-studio-online,scrum
From this link I assert that a Feature is a set of Backlog items, but what is an Epic supposed to be ?

One file of the project does not seem to be under source control


c#,visual-studio-2012,tfs
VS2012 Pro and TFS: This is a file that used to be under source control and even the icons next to it I think is showing that it is but when I make a change and right click the option for "Undo Pending Changes" is disabled. However other files in...

Get Latest Version using command-line from VSO?


visual-studio,tfs,visual-studio-online
I am looking for a simple way to get the latest version of source code from Visual Studio Online through automation (usually command line). I cannot seem to authenticate to VSO with the credentials I use to logon to the website with the TF or TEE command line. I have...

How to determine Team Project Uri from project folder


c#,c++,winforms,visual-studio-2012,tfs
I'm making a c# application where the user provides a c++ project directory that is under source control on TFS 2012. I need to determine the Team Project Uri so that I can use the TFS API to modify labels on that c++ project. The only thing I've found is...

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

Forking using TFS Git


git,github,tfs,git-fork
I'm in a project now that uses TFS and Git. And i've realized that i am not going to be able to Fork anymore so i thought i would ask you guys what you think about this as a solution. The problem i am having is that i have a...

Change mapping option replaced with cloak option in TFS


visual-studio-2013,tfs
I want to change the mapping location for trunk in TFS and get latest but instead of 'change mapping' I now have the option to 'cloak'. What do I need to do in order to get the 'change mapping' option back again? I can't see a way to change the...

Tfs and nuget: project files are forever in check out after build with restore nuget packages


visual-studio-2012,tfs,nuget
MS VS 2012 I have solution in tfs with enabled nuget packages restore. Every time when I build solution all my project files are cheked out with this changes: <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <PropertyGroup> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet...

Branches in TFS are physical or Virtual?


visual-studio-2013,tfs
We have Branched our TFS based code and and when got latest version it created a separate physical directory on our machine unlike git where we can have only one copy at a time and can switch the branches? Creating a separate physical directory is just like creating a separate...

Update to TFS custom field - optimization


tfs,tfs2010,wiql
I wanted to access TFS data via TFS API and WIQL using a custom field in WIQL where clause: string wiqlQueryDoorsProxy = "Select * from WorkItems where ([Work Item Type] = 'DoorsProxy' AND [Object Id] = '\" + requirementId + "\')"; where [Object Id] is the custom field. But TFS...

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

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

Relationship between SonarQube Runner and SonarQube.MSBuild.Runner


tfs,msbuild,sonarqube,sonar-runner
Regarding the announcement of SonarQube integration with MSBuild and Team Build, can anyone advise on the relationship between SonarQube Runner and SonarQube.MSBuild.Runner? I'm unclear whether SonarQube.MSBuild.Runner replaces SonarQube Runner or whether it sits on top of it.

What TFS folder should the solution file be bound to?


visual-studio,visual-studio-2013,version-control,tfs
I'm using Visual Studio 2013 Pro, update 4, and TFS for version control. I'm not having a good time. VS keeps insisting on checking out the solution file when I open my (multi-project) solution. It also gives an error "Unspecified Error" (thanks) for every project in the solution. I had...

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 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 + ",...

Git push hangs on POST git-receive-pack


image,git,tfs,git-push
I'm on a Windows 8 Machine with git version 1.9.5.msysgit.0 pushing to a TFS Git Repository hosted on HTTPS. When I push any text file everything is fine. But pushing a certain .jpg file git hangs on POST git-recieve-pack with the following output: $ git push -v Pushing to https://tfs.ourcompanyn.com/tfs/DefaultCollection/Prototypes/_git/TestProject...

Using Teamcity to deploy css into git repository


git,tfs,teamcity
I have a git repository set up for our angular project. The styling for the website is being worked on by a separate front end team who will be checking in their work to a TFVC repository in TFS. We are using Teamcity for CI. I would like to be...

Visual Studio Online when someone leaves the company


visual-studio,azure,tfs,visual-studio-online
We've transitioning from Rackspace dedicated boxes to a completely cloud Azure environment. Production servers and development and as an MS shop we're going to be using Visual Studio Online. As an MS ISV partner we have a bunch of MSDN seats so our developers are all going to have an...

Programmatically accessing TFS history [closed]


c#,.net,powershell,tfs
I have a solution under TFS source control and had written some sample code using an external library that was deleted a few months ago. I am certain that the code was checked in before that class file was deleted. I am able to manually browse to previous versions of...

Cannot create link between WorkItem and Server object in TFS 2012


visual-studio-2012,tfs,tfs-sdk
I'm trying to create a link from a work item to the current server version of a file in TFS via the API. I can do it within Visual Studio (2012) so I know it's possible. However when I try and do it via code it fails with TF201038: Linked...

Parallel.ForEach loop is performing like a serial loop


c#,tfs,parallel-processing,invalidoperationexception,parallel.foreach
I've spent about 8+ hours searching online for help and I couldn't find anything so, here goes. I'm working with Team Foundation Server and C# and I'm trying to acquire a list of work items and convert them into a generic object we made to be bound to a special...

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

Release Management for Visual Studio - How pipeline works with DEV/QA/Production Branches?


visual-studio,tfs,release-management,ms-release-management
We have separate TFS 2012 branches setup for each environment (DEV/QA/PROD). Changes are checked-in to DEV branch which triggers a release via RM for Visual Studio 2013 Update 4 to the DEV server. Current release template has Build Definition from DEV branch selected, but we need to switch to QA/PROD...

Working on a project by the time [closed]


c#,tfs
Is it possible that a team programming group for example 3 programmers work on a project by the time ? is it possible with TFS Visual Studio ? if it is How ? (C#)

Unable to configure TFS backup using Backup wizard


sql-server-2008-r2,tfs2010,database-backups
When trying to configure the TFS 2010 backup using the TFS Power Tools I kept running into teh following error message: Account TFS\tfsadmin failed to create backups using path \\tfs-xxxxxxx.local\TFSBackups The strange thin is that TFS\TFSAdmin has full permissions on both share and file system and that the share path...

Redirect Visual Studio to new TFS Location


visual-studio-2013,tfs
We have migrated TFS from one server to another. I have verified that the source files and history do exist in the new server location. How do I now redirect Visual Studio to look at the new server location? I would like to not lose any of the files, history...

TFS 2013: HTTP code 503: Service Unavailable


iis,tfs
All of a sudden, our TFS server down. When I checked in IIS, http://localhost:8080/tfs is giving 503 service error. Below application pools are getting stopped automatically, even though I manually made them start in IIS manager. Microsoft Team Foundation Server Application Pool, Microsoft Team Foundation Server Proxy Application Pool Please...

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

Configure Kerberos auth for TFS 2013


windows,tfs,kerberos
I need to set up Kerberos authentication for TFS 2013. Is there any document that gives me steps to configure it? I have looked at the below mentioned links http://blogs.like10.com/2012/05/09/using-friendly-dns-names-in-your-tfs-environment-with-kerberos-authentication-part-1/ http://blogs.like10.com/2012/06/21/using-friendly-dns-names-in-your-tfs-environment-with-kerberos-authentication-part-2/ My TFS still takes NTLM auth type every time. I would really appreciate if someone could send me links...

TFS 2012 - Build Agent Folders Not Being Removed


visual-studio-2012,tfs,tfsbuild
We have a TFS 2012 Build Agent running automated builds in DEV environment using ReleaseDefaultTemplate.11.1.xaml Build Definition from Release Management for Visual Studio 2013. Builds succeed, however the build agent workspace files/folders remain after files/folders are dropped in a separate location. Build agent workspace is set to: $(SystemDrive)\Builds\$(BuildAgentId)\$(BuildDefinitionPath) We want...

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

Team Foundation 2012 not recognising changes in vb6 app


visual-studio-2012,tfs,vb6,tfs2012
I'm using Team Foundation 2012 to provide source control for a VB6 (yes, I know) project. On a newly set up machine (installed Team Explorer 2012 and TFS Power Tools 2012), TFS does not seem to be properly noticing the changes. The local Team Explorer says it is connected to...

using Visual Studio Community with Team Foundation Server


visual-studio,tfs
Can you use Visual Studio Community with Team Foundation Server Express? Our development team is looking into low cost ways of developing applications and was wondering if this possible? Were a team of 5. thanks...

TFS Build Template Copy Directory and Exclusion of files


tfs,tfsbuild
I have TFS Build Default Template and I added to it, between "Run on Agent' and "Check In Gated Changes for CheckInShelveset Builds", Copy Directory with Source BuildDetail.DropLocation and destination a shared directory on a server. My problem comes that the Copy Directory is not executed or is executed, but...

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

Powershell Quoted variables parameters in a job


powershell,tfs,tfsbuild,start-job
$buildDef = "Service.xxxx" $buildDefFull="MyProject/$buildDef" Start-Job -Name 'Service1' -ScriptBlock { tfsbuild start /collection:"http://yyyy:8080/tfs/DefaultCollection" /builddefinition:"$buildDefFull" } i get this error: Option builddefinition requires a value. + CategoryInfo : NotSpecified: (Option builddefinition requires a value.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError + PSComputerName : localhost i can't seem to get tfsbuild to accept...

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

Deploy Any CPU build with WiX to x86 using MSBuild


visual-studio-2013,tfs,msbuild,wix
I have a set of solutions that build a complete .NET Any CPU application. I have a WiX project that will deploy that application as x86 and I can run this all manually in Visual Studio 2013 without any issues. Now I'm trying to get this to work in MSBuild...

Release Management for Visual Studio 2013 - Release Exception


visual-studio,tfs,msbuild,release-management,ms-release-management
Getting the following error after a successful MsBuild on a TFS Build Server: ERROR: Value cannot be null. Parameter name: The attribute 'BuildNumber' is not part of this XElement at Microsoft.TeamFoundation.Release.Common.ExtensionMethods.XmlExtensionMethods.GetAttributeValue(XElement element, XName attributeName) at Microsoft.TeamFoundation.Release.Data.Model.ReleaseComponent.SetBuildToLatest() at Microsoft.TeamFoundation.Release.Workflow.Services.ReleaseWorkflowService.InitiateFromBuild(Uri teamFoundationServerUrl, String...

Team Foundation Server Change Source Control Invalid Status


visual-studio-2013,tfs,disaster-recovery,tfvc
I have a new laptop because the old one is crashed. On the old laptop I have a Visual Studio solution that is connected to Team Foundation Server and there were a lot of changed made before I could do a check in. Luckily I made a backup of the...

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

Change Visual Studio Online team project source control from TFVC to Git


git,tfs,visual-studio-online
We have a project set up with a product backlog in Visual Studio Online. However, I now find that in TFS TFVC has been configured as the source control provider rather than Git, which we will be using. Does anyone know if it is possible to change from TFVC to...

TF400889 Long path error received from TFS


visual-studio-2013,tfs,tfvc
Can someone please help me out with this? I tried using long path tool but they want me to pay in order to delete the folder. However I cant find the file the system is complaining about. I went to the folder C:\Users\Casey\Desktop\Workspace\LegalHoldings\Sprints\Sprint5\Expunctions\LegalHoldings.Expunctions.Service.External\ServiceReferences\FillingReviewMDEService\LegalHoldings.Expunctions.Service.External.FilingReviewMDEService.GetFeesCalculationsResponse.datasource This file:...

TFS Build - Get Assembly Version Info


visual-studio,tfs,build,msbuild
Is there a simple way to set the TFS Build Number to be an Assembly Version during build? I've seen many examples of the other way around (i.e. a build number updates the assembly version). We already use the SharedAssemblyInfo implementation from here, so we would like to leverage this...