tfs

How do I enumerate a list of Source Files with Pending Changes and get their server location?

I'm trying to write a macro that will generate a plain-text list of files changed based on the list of files in the Pending Changes pane but I can't figure out how to do it. The server location of a file is the property that is formatted like this: $/TfsName/SomeSolution/Web/SomeFolder/SomeFile1.aspx $/TfsName/SomeSolution/Web/SomeFolde...

Can assembly version been automatically updated with each TFS 2010 Build?

Hi, I'm using Visual Studio 2010 and TFS 2010. Is there a way that dll version be automatically incremented with each TFS build? Thanks ...

"Not Connected" message in Visual Studio 2010 when using TFS

In Visual Studio 2010 Premium I have a project that is connected to TFS. Sometimes I see "not connected" messages on the tabs of individual files when open in VS2010. All TFS related functionality (i.e. "Check Out For Edit") seems to be working correctly. Here's a screen snippet from a VS2010 Winforms project to show what I'm talking a...

How do i remove files from the Pending Changes list in TFS when those files weren't in the source yet and have been deleted locally

Someone added a workspace incorrectly, so after I fixed it TFS thought I had added some files to the project (dll, pdb, and xmls). So I tried just deleting the files and refreshing the pending changes. I tried clicking undo, but the Output window says No pending changes were found for $/SourceCode/Apps/.../Lib.dll. (I replaced p...

In Visual Studio remove local files when undo pending changes

In Visual Studio if I add a few files to a project but then decide to undo my pending changes the files are removed from the project but remain on my hard drive. This isn't terrible but is annoying. In Visual Studio is there a way to specify that when a change is undone local files should also be removed? ...

Is it possible to get the latest version in TFS using some console client?

Currently I found two ways to get the latest version - in Visual Studio using Team Explorer and in Windows Explorer using TFS Power Tools Shell Extensions. Because our TFS server is located vary far from developers working with it is very slow and very often hangs on an application (VS/Explorer). So I want to run Get in console to minim...

How to use MSBuild Community Tasks in Team Build 2010?

How to use MSBuild Community Tasks in Team Build 2010? As you know TFS 2010 uses Windows Work Flow instead of Tasks and Target like previous version. Many Thanks ...

How to open a stored in SharePoint from Team System task screen?

Hello, Someone put a hyperlink to a document stored in SharePoint, in the All Links tab of a TFS task. When I double click it, it opens up in a new browser tab in VS2010, then asks whether to download it ("Open/Save" dialog). The result is that the file is downloaded and then opened as a local copy. What I want to do is to open the do...

How to convince my colleagues to use TFS instead of VSS 6.0?

We currently do C# and WPF programming. I've a really hard time with our source control (Visual Source Safe 6.0). My colleague are persuaded that we have all the features we need and TFS wouldn't help us more than old VSS 6.0 does (just fancy features, you know, nothing a real man needs...). In my current situation, we are actually bui...

Team Foundation server

In team foundation server 2010, is it possible to version control for user stories(For change request if we change the user story, we want to keep another version)? ...

is it possible to query workitem custom field in TFS SDK

I have few workitems which contain custom field called "Reference ID" is it possible to query using wiql on this custom field. Currently I am using the following approach: //foreach project in TFS //form the wiql WorkItemCollection workItemCollection = workItemStore.Query( " SELECT [System.Id], [System.WorkItemType...

How to write a Team Build Process Template (2010) from scratch?

I know DefaultTemplate.xaml does everything needed. But I gonna learn team build this by creating an entire new build process from scratch. I need to know which activities must be included, in which order and so on. This must be using WF in Team Build 2010. Many Thanks in Advance UPDATE: I found this link in MSDN that describes build ...

TFS Custom Build Process Template Errors - Cannot view designer

I'm getting a bunch of errors about missing references. Anyone know why? Viewing the default template does the same thing. Reloading the designer does not work. I have TFS Power Tools installed as well. ...

TFS Build for Dynamics AX?

I have never used TFS build. My application is an Microsoft ERP - Dynamics AX. I need to create a TFS build action that compile and import my code into a Dynamics AX environment. Is this possible? If so, can you point to some code or tutorials showing how to accomplish this in TFS' build system? ...

TFS Project is visible in the Source control explorer but not in Team Explorer?

I'm able to view the project 1.from the Source Control Explorer but not in Team explorer,Only if i have open the local project which is binded to TFS Only then i can view the other folders within in TFS Project. 2.From Tfs command Line Utility 3.Suppose there are no workspaces and no projects downloaded from TFS then only way to view the...

Using Team Foundation Server with limited Windows user accounts

I'm gonna add new users to Windows solely for the purpose of being used for TFS. These accounts will be as limited as they can. The question is will this be a problem for TFS? I mean will this limited Windows accounts prevent users to do certain things? ...

Backup Database and push to TFS server

Is that a way that i can schedule to run a SQL agent job to generate the database schema and data script file and then check in to the Team Foundation Server? ...

How to use triage field in CMMI work items

When is the triage field used in the CMMI workitems like Change Request and Bug in TFS 2010? For example: when a developer has been assigned to work on a Change Request and it has been triaged by the CBB and he finds out that the CR has not enough info to go further, must the CR be set to Proposed with a triage field "More info" ? ...

How to include deployment files with a TFS build

After my TFS build completes, I need to run a couple of .bat files to rename/copy files so that the package is ready for a particular environmeent. I've included these in one of my class library projects so they set to them "copy if newer", but idealy, I would like to include these in a Solution Items folder. However when I add them to ...

How TFS integrates with SharePoint

I am looking to migrate some databases out of Visual Source Safe (VSS) and into Team Foundation Server (TFS). I know I am able to migrate from VSS to SVN, and then from SVN to TFS using a few tools that I have found (either free or purchased). The aim is to get the source code into TFS and then integrate the project with SharePoint so th...