Technology Toolbox

Your technology Sherpa for the Microsoft platform

Jeremy Jameson - Founder and Principal

Search

Search

TFS

There are 44 entries for the tag TFS.

Some Tips for Managing TFS Workspaces

Are you familiar with the "tfpt scorch" command? Have you ever used PowerShell to quickly cloak/uncloak folders in your TFS workspaces? If not, here are a couple of tips that could save you a little time.

Packaging a code sample using PowerShell

Here is the PowerShell script I developed to avoid accidentally including "junk" in code samples I create for my blog.

Shared files and assemblies in ASP.NET applications (a.k.a. Building TechnologyToolbox.com, part 17)

This post describes a couple of scenarios where you might need to share files and assemblies within an ASP.NET website, as well as some tricks for making this completely painless (from a development and deployment perspective).

Setting up a new Web development project (a.k.a. Building TechnologyToolbox.com, part 2)

Once I settled on using Subtext as the blogging solution for the Technology Toolbox site, I turned my attention to working on the other areas of the site...

"Build Bloat", Part 2 (a.k.a. Removing Extraneous Items from SharePoint Visual Studio Projects)

Last week I received a "Logical Disk Free Space is low" alert from Operations Manager for my TFS 2010 build server (DAZZLER). After a few minutes investigating the issue, I discovered that my "Builds" folder was consuming a little over 2 GB of storage...

Thoughts and Recommendations on Using Iterations in TFS

Have you ever lost work items in Team Foundation Server? I know I have. Well, let me clarify that...it's not that I actually lost work items due to some bug in TFS or failure on the database server. Rather -- and I'm a little embarrassed to admit this...

Building SharePoint 2010 Solutions on a TFS 2010 Build Server

Last year I wrote a post about building Microsoft Office SharePoint Server (MOSS) 2007 solutions on a Team Foundation Server (TFS) 2010 build server , which talked about copying various SharePoint assemblies to a "Reference Assemblies" folder and adding...

Branching for a Release in Team Foundation Server

In my previous post , I mentioned that one of the recurring tasks I create in TFS each time I start a new iteration on a project is something like "Create branch for Sprint-10" (the iteration specified in the title of the work item obviously varies each...

Recurring Tasks in Team Foundation Server

While the vast majority of work items created for each iteration (sprint) are unique and therefore require some planning effort beforehand, I've gotten into the habit of creating a few recurring tasks in TFS each time I start a new iteration on a project...

Bypassing a Gated Check-in in TFS 2010

Yesterday someone contacted me about my earlier post on Incrementing the Assembly Version for Each Build in TFS 2010 , because after following the steps I provided, he encountered a problem due to the fact that he had previously configured a gated check...

My Initial Thoughts on Microsoft Visual Studio Scrum 1.0 (TFS 2010 Process Template)

I've been using the new Scrum template for Team Foundation Server 2010 for a little over three weeks now -- not on a real project, admittedly, but rather on a sample project that I've been working on. [On the customer project that I've been working on...

Incrementing the Assembly Version for Each Build in TFS 2010

Update (2010-12-03) If you are using gated check-ins, be sure to also read my follow-up post: Bypassing a Gated Check-in in TFS 2010 http://blogs.msdn.com/b/jjameson/archive/2010/12/03/bypassing-a-gated-check-in-in-tfs-2010.aspx Earlier this...

Create a Custom "Builds" List on Your TFS Project Portal (a.k.a. SharePoint Team Site)

One of "tweaks" that I commonly make to the SharePoint team site created for each project in Team Foundation Server is to create a custom list to track the important builds for the project (typically corresponding to each milestone or iteration). There...

Reporting Errors with TFS Migration/Upgrade

When upgrading Team Foundation Server (TFS) -- or, really, any application that utilizes SQL Server Reporting Services -- you might choose to restore your data to a new environment (for example, to migrate to new hardware, or to validate the upgrade in...

Performing a "Do Over" with TFS 2010 Upgrade

Regardless of whether you call it a "mulligan", a "do over", or whatever, the fact is you may encounter errors during your upgrade to Team Foundation Server (TFS) 2010 -- hopefully in your Development or Test environment first, not when upgrading your...

Avoid the Warning from Excel Services About Refreshing External Data

In my post earlier this month on upgrading to Team Foundation Server (TFS) 2010 and SharePoint Server 2010 , I forgot to include the steps to change the Warn on Refresh setting of the trusted file location for the Excel Services Application. If you...

Use PowerShell to "Reset to Site Definition" in SharePoint Server 2010

In one of my posts last month , I provided the following steps to "reghost" all of the pages in a Team Foundation Server (TFS) project site: Browse to the Site Settings page for the site (e.g. http://cyclops/sites/Demo/_layouts/settings.aspx )....

Upgrading TFS 2005/2008 Project Sites to TFS 2010, Part 3 - Quick Launch Navigation

Update (2010-05-20) I made some changes to correct a few issues and also to include the final version of the XML input file that I used to update my TFS project sites. In my previous post , I showed how you can use PowerShell to export the quick...

Upgrading TFS 2005/2008 Project Sites to TFS 2010, Part 4 - Project Work Items Web Part

In the part 1 of this series , I described how to enable the dashboard functionality in Team Foundation Server (TFS) 2010 on project sites upgraded from TFS 2005/2008 (i.e. sites originally created with the MSF Agile v4.x process templates). I noted that...

Upgrading TFS 2005/2008 Project Sites to TFS 2010, Part 2 - Team Wiki

In part 1 of this series , I showed how you can add new Team Foundation Server (TFS) 2010 dashboard functionality to project sites originally created in TFS 2008 (or TFS 2005). Another feature that you might want to add to upgraded project sites is...

Upgrading TFS 2005/2008 Project Sites to TFS 2010, Part 1 - Agile Dashboard Features

In one of last week's posts , I provided details on upgrading from Team Foundation Server 2008 to TFS 2010, including some information about updating your TFS project sites. I also provided a reference to the following MSDN article for more information...

Error 7493 ("Access is denied") Viewing TFS Dashboard in SharePoint Server 2010

Earlier this morning I was upgrading some of my Team Foundation Server (TFS) project sites (many of which were originally created with TFS 2005) in order to showcase the new dashboard features in TFS 2010. While doing so, I encountered the following...

C++ Compiler in Visual Studio 2010 Must Target .NET Framework 4

Another "hiccup" this week after upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010 ... This morning I discovered that when you upgrade a managed C++ project from Visual Studio 2008 to Visual Studio 2010, the project is updated...

Suppress CS1607 Warning for TFS 2010 Builds

Here's another issue I encountered when upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010 ... While it's generally a good assumption that a solution that builds without error in Visual Studio 2008 (and on a TFS 2008 build server...

Updated Path to tf.exe for TFS 2010 Builds

After upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010 , I found that I needed to tweak my TfsBuild.proj file in order to successfully build on my new TFS 2010 build server. In a previous post, I detailed the process that I recommend...

Building MOSS 2007 Solutions on a TFS 2010 Build Server

After upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010 , my next step was to upgrade various Visual Studio solutions to the 2010 version and ensure they built successfully after the upgrade. Note that during the upgrade, I chose...

"The workbook cannot be opened" Error with SharePoint Server 2010 (and TFS 2010)

In an earlier post today, I described how I recently upgraded from Team Foundation Server 2008 (and Windows SharePoint Services v3) to TFS 2010 (and SharePoint Server 2010). While most of the upgrade went fairly smooth, during the process I discovered...

Upgrade Team Foundation Server 2008 to TFS 2010 (and SharePoint Server 2010)

In my previous post , I provided an overview of the process of upgrading from TFS 2008 (and Windows SharePoint Services v3) to TFS 2010 (and SharePoint Server 2010). In this post, I provide more details about the upgrade process. Note that if you are...

Upgrade Team Foundation Server 2008 to TFS 2010 (and SharePoint Server 2010) - Overview

This past weekend, I upgraded my Team Foundation Server (TFS) 2008 environment to TFS 2010. I also upgraded the TFS project sites to SharePoint Server 2010. Why the SharePoint upgrade? The TFS project sites previously ran on Windows SharePoint Services...

Automated Deployments to DEV from the Latest Build Folder

Last month I wrote a post detailing how to increment the assembly version for each build . However, incrementing the assembing version is only part of my recommended build and deployment process . The following figure illustrates how deployments to...

Incrementing the Assembly Version for Each Build

Last summer I wrote a post about best practices for .NET assembly versioning and made the following statement: The AssemblyFileVersionAttribute should be incremented automatically as part of the build process. In the comments for that post, someone...

Lessons Learned Moving TFS to Windows Server 2008 and SQL Server 2008

I've been a bad blogger this month. Almost a month ago, I wrote a post about using Web standards with Microsoft Office SharePoint Server (MOSS) 2007 , but I noted that there would be more to come on that subject in the near future. Well, almost a full...

Lessons Learned Integrating Silverlight in MOSS 2007, Part 1

The November 2008 edition of MSDN magazine contained the following article: Light Up SharePoint With Silverlight 2 Web Parts http://msdn.microsoft.com/en-us/magazine/dd148643.aspx While the article provides a good introduction to integrating...

"Build Bloat" and Removing Extraneous Items from TFS Builds

This week I am wrapping up the third sprint (a.k.a. iteration or milestone ) on my current Microsoft Office SharePoint Server (MOSS) 2007 project. Although, honestly, I wasn't involved all that much in Sprint-3, since I was on vacation for the vast majority...

Building SharePoint WSPs with Team Foundation Build

As I noted in my previous post , I recently discovered that my approach for building Web Solution Packages (WSPs) in Microsoft Office SharePoint Server (MOSS) 2007 isn't compatible with Team Foundation Build. I'm actually a little embarrassed to say...

Compiling C++ Projects with Team Foundation Build

As I mentioned in my previous post , this week I incorporated Password Minder into my "Toolbox" Visual Studio solution that is scheduled to build daily through Team Foundation Server (TFS). It's not that I really need daily builds of Password Minder;...

Recommended Check-In Policies for Team Foundation Server

I love using Team Foundation Server (TFS). There's just an amazing amount of "goodness" for software development that comes out-of-the-box; and there's even more available from Microsoft and other sources in the form of add-ons (many of which are free...

Essential Add-Ins for Team Foundation Server

In a previous post , I mentioned how I use SourceGear's DiffMerge instead of the out-of-the-box tool that comes with Team Foundation Server (which is also called DiffMerge). If you haven't at least evaluated the SourceGear alternative, I definitely advise...

Best Practices for SCM and the Daily Build Process

In a previous post, I briefly discussed a simple branching strategy for Team Foundation Server (TFS). This was somewhat of a follow-up to another post in which I briefly referenced a great article titled The Importance of Branching Models in SCM . If...

Comparing Source Code Branches

During the more than three years I spent helping Agilent Technologies migrate their Internet site from their legacy, proprietary platform to Microsoft Office SharePoint Server (MOSS) 2007, we unfortunately never used Team Foundation Server (TFS). Instead...

Expression Web, My MSDN Blog, and (Now) Team Foundation Server

In case you haven't picked it up from some of my previous posts, I became somewhat of a "Web standards zealot" back in 2006 while creating a "community site" for a local organization of mental health professionals and attorneys that help children and...

Linked Files in Visual Studio Solutions

A couple of years ago, I wrote a post introducing my system for structuring Visual Studio solutions . However, I apparently forgot to post a follow-up providing additional details, such as configuring assembly versioning and what I like to call "shared...

DiffMerge - A Better Differencing Tool

Last summer, I added DiffMerge to my Toolbox and I haven't used WinDiff since. DiffMerge can do everything WinDiff can, plus a whole lot more -- like intra-line highlighting, merging, and comparing files using configurable rulesets (although you'll...

Branching Strategy in Team Foundation Server

While attending TechReady (an internal Microsoft training conference) last week, I learned a lot -- not only about future versions of our products, but also numerous tips and tricks for current versions. One of the most valuable insights I gained was...