tfs

UnauthorizedAccessException when downloading a file using the TFS SDK

When I try to download a file from TFS version control SDK to my computer I receive an 'UnauthorizedAccessException' saying Access to the local path I'm trying to download to is denied. I included a stripped down version of the code I am using below. var projectCollection = GetProjectCollection(); var versionControl = (VersionControlSer...

Best installer to integrate with TFS2010+MSBuild

So it looks like Microsoft's installer projects don't build with MSBuild. Which is what we are using with TFS2010. This means that that my dream of check in the code, continuous integration build-> installer are currently doused. I know people out there are doing it, so they must be using some other installer tech. I noticed VS2010 now...

Managing Sample Data with VS 2010 Database

I'm using a Database Project in Visual Studio 2010 to manage all of my database code. For my application, we separate the data for each client into their own copy of the database, with a common database to map users to the appropriate database. I'd like to keep several different sample data sets in TFS along with the code and be able t...

TFS: how change fields "Found In Build" and "Resolved in Build" to integer

My intention is to change type for "Found in Build" and "IntegrationBuild" field types from string to integer. I had a similar task to do: create string field for "Priority" field (http://stackoverflow.com/questions/3834191/how-do-i-create-new-field-of-string-type). For that I got suggestion to create additional custom name of string typ...

Using TFS 2010 to branch(make a copy) .Net application

I have a LOB app that we use internally that is Winforms with a Linq to SQL DAL. I want to make a copy of this so that we can test some major changes going forward. We use TFS 2010, is this what branching can do? I need to be able to edit GUI and DAL while being able to deploy it side by side with the Live version. Then, once the c...

TFS: How to add more 'CheckIn' actions

Out-of-the-box TFS provides ability to either "Associate" or "Resolve" bug/task during check-in action. I've added additional state "Implemented", created transition from "Active" to "Implemented", added into its "Action" value "Microsoft.VSTS.Actions.Checkin" and expect to have "Implemented" option in the list of "Check-in Action" on t...

Why team build doesn't create the bin folder and the linked assembly?

I work on a project I want to use team build I create a build difineation the trigger gated check-in and everything is OK, but when i check in the code the build fail and I face the following error C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets (177): Unable to copy file "bin\OTS.R...

How Link changeset with the documents on the sharepoint project portal for TFS 2010?

As I understand configuration management mean you have to track all your artifacts(requirement, design, code,test plan, test cases, test result, user manual) so at any point of time you can bring your changeset and see what the corresponding documents version with it, since we put our documents on the sharepoint not the source control an...

What is everyone's take on "documentary" (i.e. not functional) comments?

So we have fancy version control systems these days where we can comment on changes made to code. Is it any longer relevant to put similar "documentary" comments in your code? For example, in a file called Helper.cs: /* * Filename: Helper.cs * Author: Will Johansson * Created: 7/1/2010 * Purpose: Internal helper functionality for XY...

Source Control - Rational clear case Vs Microsoft Team foundation server

I have been using Microsoft Team Foundation server 2008 version as source control for my code files. However, there are other people in our company who are using Rational ClearCase for their source control. So basically I was thinking about difference between these two for - Are there any outstanding features in Rational Clear case whi...

TFS Custom WorkItemType Set field to current user

I'm trying to add a custom workitemtype to TFS. I would like to have a field called SignOff, with possible values of Yes/No. Next to that I would like to have a field called SignOffBy - when you change the SignOff field the SignOffBy field should be set to the current user. <FIELD name="Signoff" refname="MyProj.Signoff" type="String...

TFS 2010 Link Extensibility

I found this article (http://blogs.msdn.com/b/narend/archive/2006/10/13/how-to-extend-linking-and-workitem-ui-with-custom-link-types.aspx) about link extensibility in TFS 2005. I'm wondering how to do this in TFS 2010/Visual Studio 2010. It doesn't look like the dll Microsoft.TeamFoundation.WorkItemTracking.Controls.dll exists anymore, ...

Will deleting a project in TFS remove the files, or will the history be preserved?

The reason I'm asking is that I want to test something, that I expect will generate a number of commits, totalling a lot of data, and since it's only a test, I don't want to leave them permanently in the database. Do I have to set up a temporary TFS server for this, or can I just delete the project afterwards and expects its disk space ...

TFS: Ignore certain file from pending changes

Hi all, Here is my problem. I have a certain files from the solution (let's say Web.config) that I've changed and will never want to check-in since the changes are referring to my machine only. Is there a way to say in TFS to ignore changes in a certain file and remove it from pending changes window. Of course, I can skip this file in e...

Where are logs for witadmin actions in TFS 2010?

When running the witadmin command from the Visual Studio 2010 Command Line, where is this action logged in TFS 2010? An example command would be: C:>witadmin exportwitd -collection:http://server:8080/tfs/projectcollection -p:TeamProject -n:Bug -f:c:\Bug.xml ...

Making Visual Studio TFS plugin store your credentials?

Every time I open Visual Studio 2008, I get a pop-up dialog prompting for my username and password ('Connecting to Team Foundation Server'). Presumably this is because I have my TFS server stored in the Team Explorer tab, in Servers, so it wants to connect to it on startup. In addition, this happens when I open a solution file whose so...

Does Visual Studio Team Foundation Server 2010 include ASP.NET in the Install?

Does Visual Studio Team Foundation Server 2010 has ASP.NET included when installing? ...

In Team foundation server what is build agent and controller ?

Hi all, I am unable to grasp the concept of build server in Team foundation. Can anybody explain ? Also what is the build agent and controller in the foundation server ? ...

Visual Studio 2010 foundation server - do I need a domain controller

As a solo developer, I don't really need team foundation server, but I own a copy so I wanted to try it out and see if I like it better for source control. I have small network of windows severs (most 2008), but don't use a domain controller as most machines run in isolation and the number of users are very small (max 5 people). I in...

Team Foundation Server: New Files

We're in the process of evaluating team foundation server for source control. There doesn't seem to be a great way to "discover" that another developer has added file(s) to a solution. Does anyone have any tips to make new files "jump out" a bit? ...