TFS 2010 server licensing: It’s included in MSDN subscriptions

[UPDATE 2/10/2010]  You can now get the official Visual Studio 2010 Licensing whitepaper, which also covers TFS, Lab, and IntelliTrace. That is the best resource for understanding the licensing. Another big piece of news with the release of VS and TFS 2010 betas yesterday is the changes to TFS licensing for 2010 that make it even more affordable. …

78

Keyword expansion in TFS

Periodically, the topic of keyword expansion comes up, which TFS (at least through 2008) does not support.  At one point during the v1 product cycle, it was a planned feature and was partially implemented.  However, there are lots of challenges to getting it right in TFS version control, and it wasn’t worth the cost to finish…

66

How to delete a team project from Team Foundation Service (tfs.visualstudio.com)

[UPDATE 9/13/13] You can now use the web UI to delete a team project. [UPDATE 5/14/13] Updated the URLs and version of VS (used to say preview) The question came up as to how to delete a team project in the Team Foundation Service (TFService).  When I first tried it, it didn’t work.  Then I…

64

Fix: Windows 10 upgrade couldn’t update the system reserved partition

Disclaimer: This is what worked for me, and it’s not guidance from Microsoft. It may not work for you. Since this involves resizing partitions, it could wipe out all of your data. You may want to create a backup first. Proceed at your own risk. Over the weekend I upgraded my machines at home to…

63

Visual Studio setup projects (vdproj) will not ship with future versions of VS

[UPDATE 04/18/14] The Visual Studio team has released an extension to VS 2013 to address the feedback on this, which has been loud and clear for a long time now: Visual Studio Installer Projects Extension. [UPDATE 11/6/12] Fixed broken links. At the user group meeting last night, someone asked about the future of WiX.  There…

53

Team Foundation Version Control client API example for TFS 2010 and newer

Over six years ago, I posted a sample on how to use the version control API.  The API changed in TFS 2010, but I hadn’t updated the sample.  Here is a version that works with 2010 and newer and is a little less aggressive on clean up in the finally block. This is a really…

52

How to connect to TF Service without a prompt for LiveID credentials

Normally when you connect to the Team Foundation Service you are presented with a web page to log in with your Microsoft Account (aka LiveID). When you log in you can choose to have it remember you and you won’t have to enter your Microsoft Account credentials again (unless you don’t log in again for…

51

How to run tests in a build without test metadata files and test lists (.vsmdi files)

[UPDATE 6/16/2010]  The VSTS 2008 release added support for test containers (/testcontainer) in the product, and the 2010 release added support for test categories.  This post now only applies to TFS 2005. Since the beginning, running tests in Team Build (or MSBuild in general) has meant having to use .vsmdi files to specify the tests to…

46

Preview of the build notification tray applet power tool for TFS 2008

[UPDATE 12/21/07]  The build notification tool has now become part of the TFS Power Tools for TFS 2008!  It has new features and quite a few fixes (not to mention that it’s a signed binary), so I’ve removed the attachment from this post. We would have loved to have included in TFS 2008 a build…

38

Migrating from SourceSafe to Team Foundation Server

We plan to provide migration tools for users switching to TFS.  A VSS user asked in the newsgroup about migrating VSS labels, revision history, sharing, and pinning. The goal is migration of all data, consisting of projects, files, and folders, with associated metadata reliably with minimal information loss while preserving user information and appropriate permissions.  There are…

35

Why doesn’t Team Foundation get the latest version of a file on checkout?

I’ve seen this question come up a few times.  Doug Neumann, our PM, wrote a nice explanation in the Team Foundation forum (http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=70231). It turns out that this is by design, so let me explain the reasoning behind it.  When you perform a get operation to populate your workspace with a set of files, you…

34

TFS 2008: A basic guide to Team Build 2008

Patrick Carnahan, a developer on Team Build, put together the following guide to the basic, as well as a few advanced, features of Team Build in TFS 2008.  It’s a great way to get started with continuous integration and other features in TFS 2008. Team Build – Continuous Integration One of the new and most compelling…

33

Permission error with creating a team project from VS 2010 on TFS 2012

You must use the Visual Studio Team Explorer 2012 (included in all Visual Studio editions or may be separately downloaded) to create a team project on a TFS 2012 server.  If you use VS 2010, you will get an error about not having permission.  The error message is very misleading, because it’s not a problem…

31

How to handle "The path X is already mapped in workspace Y"

This has come up before on the forums, but I don’t think I’ve ever posted about it here.  Today I saw a reference to the TFS Workspace Gotcha! post in today’s Team System Rocks VSTS Links roundup.  There’s a command to deal with the problem, but it’s not obvious. Here’s the post. I have been working…

30

Visual Studio and Team Explorer 2013 no longer require IE 10 for installation

When Visual Studio 2013 and Team Explorer 2013 were originally released, the installation process required that Internet Explorer 10 or newer was installed. Today we released updated installers that no longer require IE 10. You will get a warning at the beginning of your installation that looks like the screen shot below. For VS 2013…

30

TFS 2008: How to check in without triggering a build when using continuous integration

If part of your build process is to check in a file, such as an updated version file, you wouldn’t want that checkin to kick off another build.  You’d be stuck in an infinite loop. To prevent that problem, simply put the string ***NO_CI*** in the checkin comment.  The code that examines a changeset to…

29

Team System Web Access 2008 SP1 CTP and Work Item Web Access 2008 CTP are now available

Hakan has announced the availability of the new TSWA community technology preview (CTP) in his post, What’s New in TSWA 2008 SP1.  Personally, I would say this release is beta quality or better, so don’t let the CTP designation scare you too much. Also released is the first CTP release of what we are calling…

27

New tool to upgrade from Visual SourceSafe to Team Foundation Server or Service

Today we have released an upgrade tool for users of VSS to upgrade to either on-premises TFS or the Team Foundation Service in the cloud! It provides a wizard-based UI for upgrading a VSS repository to TFS 2010, 2012, or the service. Compared to the old VSS conversion experience, there are quite a few improvements….

27

Creating a new server from an old one: Beware of the InstanceId

[UPDATE 8/23/14] The MSDN topic Move Team Foundation Server has the information about cloning TFS 2013. Today, that info is in the Q&A section at the bottom of that page. [This post contains instructions for TFS 2005/2008 and TFS 2010, which is in a separate section below] Grant Holliday wrote a post called, TFS InstanceId,…

27

Internal error loading the Changeset Comments checkin policy

[Update 11/26/12] You can get the fix by installing Update 1 (or newer) for Visual Studio 2012: http://www.microsoft.com/visualstudio/eng/downloads. Some customers, after starting to use Visual Studio 2012 with their existing TFS deployment, have been receiving check-in policy errors having to do with the Changeset Comments policy. The errors look like: Internal error in Changeset Comments…

25