:: thoughts on team system and more RSS 2.0
# Monday, September 29, 2008

Today Microsoft revealed that "Rosario" will be VSTS 2010. Not to amazing but it's great to see more of the official words getting out there. The 2010 release will be a huge step forward for the tools in the ALM space. The new architect tools look great, the build system will be improved, the tools for project management will (finally) get support for hierarchical structures, test management... The list just goes on and on...

The complete announcement can be found here.

And Brian Harry of course has some more to add about this in this post.

An updated CTP for VS 2010 will be released sometime soon. I'm really looking forward to PDC in a few weeks :-)

Monday, September 29, 2008 10:07:58 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System

I just read this piece of good news: http://msdn.microsoft.com/en-us/vstudio/products/cc948977.aspx and in all the goodness one part especially caught my eyes:

As of October 1, users of 2008 Development Edition or Database Edition will have access to both products.

This I hope will finally boost the use of VSTS-DB, a great product that has been hard to use since not all developers have had the Database Edition as well. Now we can all create database projects in Visual Studio!

Monday, September 29, 2008 9:42:15 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, August 11, 2008

Microsoft released the first service pack for Visual Studio 2008 today. Download from the links below:

Microsoft Visual Studio 2008 Service Pack 1 (exe)
Microsoft Visual Studio 2008 Service Pack 1 (iso)
Visual Studio 2008 Team Foundation Server Service Pack 1

Read the details on what's new in SP1 here. Some of the Team System goodies include drag-and-drop support for adding files, version control of unbound files (not in the current solution) and noice and performance improvements in the team build reports.

And as usual, Brian Harry has a post with lots of detail about the service pack. I recommend you read the notes on TFS in particular.

Monday, August 11, 2008 8:13:44 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [1] -
Team System
# Wednesday, July 30, 2008

Conchango, the creators of the Scrum process template, recently released a new tool for visualizing and managing work items in Team Foundation Server. With the Task Board for Team System it is possible to manage work items outside of the Team System tools using a stand-alone Windows application. The tool is currently in beta (beta 2 is due to be released on august 15) and requires TFS 2008 and v2 of the Conchange process template. The setup was a no-brainer and the tool is intuitive to use. Here's a taste of what it looks like:

Another option if you want this kind of tool but rather have it as a web application is to use the Scrum Dashboard, which is community tool you can get from Codeplex. Great add-on which is also based on the Conchango Scrum template.

Wednesday, July 30, 2008 12:22:03 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Thursday, July 17, 2008

The latest release of the TFS powertools has been released and can be downloaded here.

There are two things this time that got my attention;

  • A UI for setting up alerts to TFS using an editor similar to the work item query editor. This is a really useful enhancement since most people want to automate tasks based on the event model in TFS.
  • Support for TFS in Microsoft System Center. With a dedicated TFS pack it will now be possible to monitor TFS the same way as other application servers. This add-on will be released as a separate download following the existing release mechanism for SCOM management packs.

Brian Harry has written a good post on what else is included in this release.

Thursday, July 17, 2008 12:13:07 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Sunday, June 29, 2008

Here's another question that I often get: How can I control which Team Projects a specific user can see in TFS?

A: In TFS 2008 this is the default behaviour! New projects will only be visible to the members of the project groups.

In TFS 2005 there's a different story. Here the behaviour is that all valid TFS users can see all projects. That of course won't give them rights to do things in the projects, but having a long list of projects can be confusing. The solution in this case is to create a role (i.e. "Denied users") with "View project-level information" set to "Deny".

Sunday, June 29, 2008 9:04:54 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [2] -
Team System
# Saturday, June 28, 2008

Yesterday Microsoft announced the availability of the RTM version of Hyper-V, the new virtualization component of Windows Server 2008.

I'm a huge fan of Virtual PC. I use it more or less every day for development tasks and training because it's so easy to use. Having a way to deal with different environments without messing up your main configuration is priceless.

I've tried to use Virtual Server much the same way on a server scale but compared to VM-Ware it's quite limiting when it comes to guest OS management, such as resource sharing, support for physical hardware (where's the USB support?) and image handling. Hyper-V will likely change this so that we now can use the same infrastructure for virtual images both on desktops and servers.

And as for Team Foundation Server? It's supported as well! TFS 2008 still requires 32-bit OS on the application tier but a 32-bit OS can of course be hosted in Hyper-V on a 64-bit system. Brian Harry wrote about the implications of using TFS with Hyper-V technology in this post.

I've concidered using Windows Server as the OS for my laptop for a while. With Hyper-V now out the door my next laptop will run Windows Server 2008!

Saturday, June 28, 2008 8:34:21 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
General | Team System
# Sunday, May 18, 2008

One question I get quite often is how you can control access to the Team System Web Access client.

TSWA will use the permissions setup for a user in TFS. So if you're allowed to view reports or manage documents in Sharepoint then these features will be available to you in TSWA as well.

Now, in TSWA 2008 there is also a way to control which tabs a user is allowed to use. To setup access permissions, chose "Settings, Team Project, Access Restrictions" in the web client. A dialog like the one below is shown where you can configure permissions in TSWA similar to the rest of TFS.

When Nicole in the case above logs in to TSWA the UI will not allow her to work with the reports, source control or build tabs. Not bad but in my opinion it would have been even better if the tabs wasn't shown at all.

Sunday, May 18, 2008 8:53:29 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [1] -
Team System
# Friday, May 02, 2008

Conchango recently released v.2.1 of the popular Scrum process template. Mainly bugfixes in this release and it's possible to upgrade existing projects using an included utility. The process is straightforward for the latest releases, but when upgrading from 2.0 Beta 1 I've had to handle it manually (which is the way to do it). Below is some short notes of the installation procedure.

Upgrade 2.0 Beta 2 & RTM => 2.1

  • Uninstall Scrum for Team System 2.0.
  • Install Scrum for Team System 2.1.
  • Upgrade existing projects to 2.1 using the ProjectUpgrade.exe as described here.

Upgrade 2.0 Beta 1 => 2.1

  • Uninstall 2.0 and install 2.1.
  • Upgrading projects using ProjectUpgrade.exe will not work, instead
    • Extract the work item type definitions from the process template.
    • Import the work items types (existing will be updated, bug will be added).
    • The "Sprint Retrospective" work item type has been renamed so the old one called "Sprint Retrospective Item" should be removed.
      • Use the Team Foundation Power tool tfpt.exe /DeleteWIT to remove the unwanted work item type.
    • Remove all template work item queries and add the ones from the new process template.
    • Remove all template reports and add the ones from the new process template.

Otherwise a great release of a great process template. Probably the best mapping of Scrum to Team System around.

Friday, May 02, 2008 5:43:01 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [2] -
Team System
# Saturday, April 26, 2008

Microsoft just released an update to the Team Foundation Server Power Tools.

My favorites this time:

  • Support for custom work item controls in the Process Template Editor.

    I suggested this a while back at MS Connect and it's great to see that this has added to the tool.

    There's also a CodePlex project working on WI custom controls, WitCustomControls, that I've been involved in. The controls can be used as they are and the code is there too so it's easy to customize and create your own.
  • TFSServerManager. A utility that will give you nice statistics of TFS usage.

Brian Harry has a complete post on feature in the march release here.

Download TFPT here.

Saturday, April 26, 2008 11:51:13 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Tuesday, February 26, 2008

Per at EPiServer has built a very nice project dashboard based on TFS and Conchango's Scrum project template. And it just the thing I would like to have/do but nerver got the time to... Great work!

The Dashboard features:

  • Ajax-based web interface with support for Internet Explorer and Firefox
  • All features are sprint-centric for daily work in a sprint
  • Create, add and update product backlogs
  • Create and update sprint backlog items (task, impediment, bug)
  • Colorized sprint backlog items to visually see progress and unplanned work
  • Import bugs from another project for maintenance tasks
  • Statistics and sprint burndown chart easily visible for the whole team
  • RSS feed for syndication of changes in product backlog

The dashboard is available as a shared project on CodePlex.

Tuesday, February 26, 2008 1:10:48 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [1] -
Team System
# Sunday, February 10, 2008

Now the week of the event has passed. We had a busy three-day tour of Göteborg, Malmö and Stockholm.

The presentation can be downloaded here.

I got a number of interesting questions and I thought I'd share some of them here.

Q: Can I use TFS from Visual Studio Professional?
A: Yes, Visual Studio Standard Edition and up will work fine with Team Explorer. The Team Editions include a TFS CAL, the other will require a separate license.

Q: How can I exclude certain files from source control in TFS?
A: When you add files to projects under source control you can undo the newly added files from the pending changes list and it will not be under source control. Should you later change your mind then exclude and include the file and it will be added to TFS.

Q: Will my check-in policies for TFS 2005 work in TFS 2008?
A: Short story: check-in policies are compiled against a particular version of the TFC objects and will therefore only work with that version. More info here and on the forums here.

Q: Is there any good articles on moving from Visual Source Safe to TFS?
A: Steve St. Jean has written a good piece on this and it can be downloaded here.

Q: Is it possible to merge two changesets?
A: No, each changeset is unique and its content cannot be modified.

Sunday, February 10, 2008 10:11:35 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Sunday, January 20, 2008

Ehh, well, since the presentation was non-exising I thought I'd just post some notes and references to the stuff we looked at in the SweNug talk this week.

VSTS 2008 - News for the architect
Conform to WSDL: http://blogs.msdn.com/vsarch/archive/2007/06/20/conform-to-wsdl-new-feature-in-team-architect-orcas.aspx
Top-down system design: http://blogs.msdn.com/vsarch/archive/2007/08/30/top-down-system-design-by-delegating-behavior.aspx
Web application projects
Team Architect Power Tools: http://blogs.msdn.com/vsarch/archive/2007/08/15/team-architect-power-tools.aspx

VSTS 2008 - News for the developer
Code metrics: http://msdn2.microsoft.com/en-us/library/bb385910.aspx
Performance run comparison: http://blogs.msdn.com/ianhu/archive/2007/04/03/comparing-performance-reports-with-the-visual-studio-team-system-profiler.aspx
Hot path: http://blogs.msdn.com/ianhu/archive/2007/09/14/pinpoint-a-performance-issue-using-hotpath-in-visual-studio-2008.aspx
Code analysis Policy improvements
Unit test in professional edition
Improved unit test data binding: http://msdn2.microsoft.com/en-us/library/ms182528.aspx
Test list management in professional edition

VSTS 2008 - News for the tester
Auto cleanup of results: http://blogs.msdn.com/nnaderi/archive/2007/05/14/new-unit-testing-features-in-orcas-part-2.aspx
Load modeling
New load test views
Performance improvements: http://blogs.msdn.com/nnaderi/archive/2007/05/11/new-unit-testing-features-in-orcas-part-1.aspx
Unit test in professional edition
Improved test data binding
Test list management in professional edition
Web test recorder support for Ajax: http://blogs.msdn.com/billbar/archive/2007/06/14/new-load-test-and-web-test-features-in-the-orcas-release.aspx
Auto extract dynamic parameters

New in TFS 2008
http://blogs.msdn.com/bharry/archive/2007/08/08/final-tfs-2008-feature-list.aspx

Support for SharePoint 3.0 / 2007

Team Build
• Build definitions
• Continuous integration builds
• Scheduled builds: http://blogs.msdn.com/buckh/archive/2007/02/07/you-can-schedule-builds-in-orcas.aspx
• Build Queuing
• Drop management

Source Control
• Destroy
• Get latest on checkout
• Annotate
• Folder diff
• Offline support

Performance, scalability, licensing
Improved Web Access

Sunday, January 20, 2008 11:38:52 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [1] -
Team System

The Swedish ALM Live events will continue this year as well and I've got the opportunity to give the first set of talks. My last ALM Live presentation was about using the new source control system in TFS. This talk will pick up on that subject and go more in-depth on how to actually migrate to TFS. We'll look at some strategies, compare features in other popular SCC systems and perform a migration from Visual Source Safe to TFS.

We'll visit Göteborg, Malmö and Stockholm this time and the dates are February 5-7.

The complete agenda and registration for the event is here.

Welcome!

Sunday, January 20, 2008 11:27:51 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [2] -
Team System
# Monday, January 07, 2008

It's time for a new SweNug event. This time Joachim Rossberg and I will go through what's new in Team System 2008:

Starta det nya året med ett seminarium om Visual Studio Team System 2008. Kom och lyssna på Mathias Olausson och Joachim Rossberg när de berättar (nästan) allt som ni behöver veta om Visual Studio Team System 2008.
Datum:   15/1 2008
Tid:           17.00 --->
Plats:       Informator Göteborg
More info on the event will be posted here.
See you there!
Monday, January 07, 2008 11:06:58 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, December 31, 2007

Just an update to my old post on where to get the TFS Team Explorer downloads:

Team Explorer 2008 can be downloaded here.

Team Explorer 2005 can be downloaded here.

Monday, December 31, 2007 2:17:17 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Friday, December 21, 2007

The last (?) release of TFSBuildLab is now complete. Since many of the features in TFS 2008 overlap what we've done in TFSBuildLab we've decided to make a release with some fixes but this is probably where the road ends...

You can get the 1.1 version from Codeplex here.

Peter has posted a release note for the release. 

What's new in version 1.1?

We have improved the errorhandling dramaically in this release as well as tried to include more contextual information in the logs.

Service

* Added support for multiple build servers assosiaed to a trigger.
* Added support for status notifications out build completion.
* Fixed problem with to many changeset involved in build failure notifications when * checkin occurs at the same time as a build is failing.

Admin Client

* Overview of scheduled builds for a team project.
* Support for multiple reports on the dashboard.
* Add transaction support when copy config, this addresses the problem of caches becoming corrupt.

Notification Client

* Support for notification on assignment changes to work items.
* Fixed problem with the configuration no always being persisted.

As always - feedback is welcome! Please post it on the discussion pages.

Friday, December 21, 2007 10:43:37 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, December 03, 2007

[Updated 2008-06-29]
I finally got around to upgrade our TFS to 2008. Since it went well I thought I'd share my setup experience.

To upgrade from TFS 2005 to 2008 I used the following procedure:

1. Update the server to the latest service packs. I would recommend an upgrade to TFS SP1.
2. Run the Team Foundation Server Best Practices Analyzer from the Team Foundation Server Power Tools. This will make you aware of any (major) issues in the current installation.
3. Read the TFS setup guide. Yes, this may come as a surprise :-) But honestly, reading the guide will help a lot. I wouldn't do a TFS setup without using the checklists from the guide!
4. Make sure you have working backups. And of course make sure that they work! Always do a disastery-recovery procedure to verify that you know how to get a broken installation up again.
5. Make sure you have enough disk space. Look at the database files and make sure there's at least that much space available on disk (thanks to Thomas for mentioning this).
6. Uninstall Team Build 2005 (if applicable).
7. Uninstall Team System Web Access 2005 (if applicable).
8. Uninstall TFS 2005 (although it's not necessary for a single-tier configuration, there's nothing wrong in cleaning up before the upgrade).
9. If you have configured TFS to run on a different port than 8080 then either change it back to 8080 before the upgrade or edit the AT\msiproperty.ini file on the installation media so that the property VSTF_WEBISTE_PORT=8080 points to the correct port.
10. Install TFS 2008. The setup will detect the existing 2005 installation and upgrade the services and databases.
11. Install the Team System Web Access 2008 (downloaded from here).
12. Upgrade Windows Share Point Services from 2.0 to 3.0. There a walk-through on MSDN on how to do the upgrade here (thanks to Stuart for mentioning this!). I optimistically skipped to run the WSS Prescan tool (downloaded from here) but that wouldn't fool the upgrade tool.
13. Run the SharePoint Products and Technologies Configuration Wizard to complete the wizard.
14. Upgrade TFS with the Windows SharePoint Services Extensions from the TFS media.
15. Update the existing Team Project sites to the new look-and-feel. Peter has written a good post on how to do that. 

The procedure took about 4 hours on our server to complete. The impressions so far it that (apart from a very smooth upgrade) it performs very well. Noticably faster than TFS 2005!

Monday, December 03, 2007 10:25:13 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [10] -
Team System
# Tuesday, November 20, 2007

So I've (just like most other VS/TFS geeks) downloaded the latest bits to try it out. Apart from the expected wait-for-download the many-GB-files the setup went great. VS 2008 setup took about an hour to complete and installing a new TFS 2008 from a bare Window 2003 Server took less than two hours. Since the installation of TFS nowdays is a pretty straight-forward procedure I wasn't expecting any trouble so it was good that the new setup worked flawlessly.

Since most people only can access the 90-days trial you can still upgrade using the trial versions. When you have the right keys all that needs to be done is to re-run the setup and in the options you get it's possilble to enter the new license key to activate the product.

Next up is to upgrade our internal TFS 2005 installation to 2008. I think it will be a bit more challenging :-)

Tuesday, November 20, 2007 8:48:24 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [1] -
Team System
# Saturday, October 27, 2007

The first of three talks on TFS Source Control is now done. It was nice to see so many people show up to the event and there was good discussions both during the talk and in the breaks.

I say I'd post some additional links after the event so here they are:

  • The code sample for custom check-in policies can be downloaded here. The sample creates a policy that can be used to require an associated work item but only for specific types of work items.
  • One guy mentioned a UI for the VSS Converter. Nothing I've looked at but here's the link to it: http://www.codeplex.com/VssConverterGui.

The presentation can be downloaded here.

Saturday, October 27, 2007 10:47:31 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Tuesday, October 23, 2007

The MSDN Live tour is now over. After having visited Umeå, Stockholm, Malmö and Göteborg it feels a bit wierd that it's over. It was a busy week (to say the least) and it's been a great experience to travel with the rest of the speakers and to get an opportunity to meet with a lot of .NET developers. Really nice!

So just for administration: you can download my VSTS presentation here.

Johan has also posted this and the other presentations on his blog.

Tuesday, October 23, 2007 10:49:36 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [2] -
Team System
# Tuesday, October 16, 2007

Next month I'll be at the Öredev conference to give a talk on experiences from implementing Team System and TFS. The talk will address common concerns, such as:

  • How do I plan for Team System?
  • How do I implement TFS?
  • What generally needs to be configured in a new installation?
  • What can be extended in TFS to support the way my organization works?

And Peter will be talking too, so a big opportunity to hear more about our expericens from build automation and why we developed TFSBuildLab.

Sign up for the conference to hear more about development in general and in this case Team Foundation Server in particular.

Tuesday, October 16, 2007 6:53:09 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System

TFSBuildLab v1 is done! Peter has done a great job wrapping up all loose ends and we've finally been able to get it out the door. The interest seems pretty good - the number of downloads so far is beyond our expecations.

Peter has written a detailed post on the updates from beta 2 to RTM here. Have a look at all the cool features and not to mention the statistics pulled from our TFSBuildLab production system.

So thanks for the interest so far and keep the comments and suggestions coming! The forum at Codeplex is always open.

Tuesday, October 16, 2007 6:32:13 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, October 01, 2007

Recently the v.1.3 of Team Foundation Power Tools (TFPT) was released. Great pack of utilities while we wait for TFS 2008 where many of the tools are built-in features.

The newest add-ons this time are:

  • Team Foundation Server Best Practices Analyzer: great tool for both performing a sanity check on a server before installing TFS as well as a utility for troubleshooting unhealty TFS installations.
  • Work Item Templates: a feature that allows commonly used work item forms to be pre-populated with the default values.

I ran the analysis above on our TFS server and fortunately it only returned a couple of minor issues found (like not having the latest quiecense GDR installed). Good for me :-) 

The release can be downloaded here.

Monday, October 01, 2007 10:00:28 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Thursday, September 20, 2007

Microsoft Sweden has started a series of presentations under the umbrella "application life-cycle management (ALM) called ALM Live. The talks will cover areas like project management, agile development and configuration management and Magnus Juvas kicked it off yesterday with a talk on effective project management. The presentations are of course targeted for Team System and TFS. For the next couple of events I'll be talking about TFS and how use the version control system effectively.

Here's more information about the event at the different locations:

Stockholm: 25 oktober
Göteborg: 30 oktober
Malmö: 31 oktober

Thursday, September 20, 2007 9:36:31 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Wednesday, September 19, 2007

It's going to be a great show this time, lots of good subjects and speakers! This time the major training companies have a chance to join in to show their muscels and I'll be working with Informator to give a talk on how Team System fits well both in a large as well as in a small project. We'll also look at some cool features coming in Visual Studio and TFS 2008 - maybe something about build automation? :-)

More about the event here (including registration of course!).

Wednesday, September 19, 2007 9:25:58 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Sunday, August 26, 2007


Just a month after the first beta we've now released beta 2. Most work has been around easier installation and better administration, but a few new features are there as well.

Have a look at it at CodePlex: http://www.codeplex.com/tfsbuildlab.

Comments and suggenstions are much welcome as always. And please post to the forum as well.

Sunday, August 26, 2007 9:47:46 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, August 13, 2007


I've added my code for work item screenshot capturing to the WitCustomControls project on CodePlex. I've also added a new control for including a web browser in a work item based on code Naren sent me. Hopefully this project will include more commonly requested control types...and when Team System Web Access will handle custom work item controls this feature will really be useful...

Monday, August 13, 2007 10:50:54 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Saturday, August 11, 2007

I like Virtual PC and I use it a lot. Recently I decided to rebuild my set of VSTS and TFS images. So I happily created a base image with Windows 2003 Server R2, IIS and Office 2007. This will serve as a good base for the rest of my disks, I thought. Next, I copied the base image to install TFS 2005 on it. I started up the VPC, used NewSID to change the computer Sid and give it a new name. Then I installed TFS and all its prerequisites without any problems. Patched it with service pack 1. Tested according to the doc’s (ran the web service, viewed the report site etc). All is good.

Then I went ahead and created a team project in TFS. Not so good… The project wizard failed with this error when creating the Share Point site:

Error
Unable to connect to the Windows SharePoint Services at TFSDEMO01 

Explanation
The Project Creation Wizard was not able to connect to the Windows SharePoint Services at TFSDEMO01. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the Windows SharePoint Services site. 

The project creation log didn’t say much more. The most interesting was the statement before it failed where it verified that the Share Point templates existed (http://tfsdemo01/_vti_bin/Sites.asmx).

Finally, this was logged to the Windows event log:

#50070: Unable to connect to the database STS_Config_TFS on TFSDEMO01.  Check the database connection information and make sure that the database server is running.

Since the errors were unintuitive, I Googled a while, checked permissions, updated the IIS scriptmaps, and checked a good number of other things to find the cause for the error. Nothing. Until I came across this post and it dawned on me. Never install IIS on a VPC image, then change the computer name (or Sid?) and expect IIS to work correctly after. This is probably obvious to everyone... What really fooled me was that IIS responded correctly and the TFS setup went through without an error.

Yesterday, a colleague of mine told me how I could enable hardware virtualization for Virtual PC on my Dell laptop (just enable it in BIOS). Now life is good again.

Saturday, August 11, 2007 10:48:56 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, August 06, 2007

Microsoft patterns & practices team just released the final 1.0 version of the Team Development with TFS Guide. This PDF book contains lots of useful guides and best-practices, ranging from source code control to build automation to process customization to... Get it here.

Monday, August 06, 2007 10:33:51 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Tuesday, July 31, 2007

Buck Hodges has announced the release of the the Microsoft branded web front-end to Team Foundation Server based on DevBiz Team Plain (which was aquired by Microsoft earlier this year). Brian Harry has written a long post about the history of the product and about the features of this release.

I downloaded the distribution from here and the uninstalled the version of DevBiz Team Plain (2.0 RC) I had installed already. Running the setup after that went fine and after less than 5 minutes total the Visual Studio Team System Web Access was up and running. So far I've seen little differences from the Team Plain version but than again most of the features were already in Team Plain 2.0.

Tuesday, July 31, 2007 10:56:33 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Wednesday, July 25, 2007

Buck Hodges just announced the date for the next Team System chat. These chats are very informative with a lot of really interesting questions raised by people in the VSTS community.

Wednesday, July 25, 2007 8:41:20 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, July 23, 2007

Finally Peter Blomqvist and I have managed to released a first beta of our pet-project TFSBuildLab. I wonder why it's so hard to actually get working software out the door... Anyway, TFSBuildLab is a Team Foundation Server add-on that enbles continuous integration and build automation similar to the what we're getting in TFS "Orcas". We've developed the tool as a shared project on CodePlex and used it in our common development project since april this year. Peter has a detailed post with nice statistics from the project where we've used TFSBuildLab.

Comments and suggestions are appreciated - please post to the CodePlex forum where we can have an aggregated view of ideas.

Monday, July 23, 2007 1:01:34 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Friday, July 20, 2007

As most users of TFS have become aware of, it is not possible to directly create a screenshot in a TFS Work Item. This is particularly awkward when working with bugs in TFS, since commonly a key part of a bug report is to include a screen-dump of the issue at hand. There are a few attempts to solve this problem (Automatically raise bugs from IE, Snag-it output for TFS) but none I’ve seen addresses the problem that you actually want to do the capture from the work item itself.

 

So having thought about this for a while I decided to write a TFS Work Item Custom Control that can create new attachments to a work item based on an image available on the Windows Clipboard. So the scenario for the user of the control is to find the window to attach to a work item and then press “print screen” for the entire desktop or “alt-gr print screen” to capture a specific window. The content of the clipboard will then be saved as an attachment. Simple enough was my idea.

 

The code for the Work Item Screenshot Control can be downloaded here: TFSScreenshotControl.zip (26,39 KB)

 

There is very little documentation available on how to develop custom controls for TFS work item tracking. The references I’ve found must useful are these:

 

·         http://msdn2.microsoft.com/en-us/library/bb286959(vs.80).aspx

·         http://blogs.msdn.com/narend/archive/2006/10/02/How-to-use-Custom-Controls-in-Work-Item-Form.aspx

·         http://www.codeplex.com/WitCustomControls

 

When it comes to debugging WIT custom controls, I can only say that it works pretty well be attaching one Visual Studio instance with the control project loaded to another running the Team Explorer and the work item to test. The most annoying thing is that the VS instance having opened a work item form with the custom control on it will lock the control file so in order to test an updated version Visual Studio must be restarted.

 

The Capture control can be added to any work item tracking type definition. Typically you would provide a label and then the Capture button, similar to the following image:

 

 

And here’s a cool feature – if the clipboard doesn’t contain an image then the Capture button is disabled. It will become enable as soon as the user presses “print screen” or “alt-gr print-screen”.

 

  

When the button is pressed a “Save As Attachment” dialog is shown. The dialog lets the user enter the attachment name and comment as usual. Pressing OK will create a new attachment to the work item.

 

 

It is also possible to click on the preview image to bring up a larger window with the screen shot:

 

 

To make the capture control even more useful, I’ve also implemented an alternative “File Attachment” control. This control works just like the standard control but also provides the Capture feature.

 

 

To use the control first create a work item type that contains the image. In essence the only thing that needs to be done is to include a new control in the <FORM> section in the work item XML. The following examples shows the syntax for the ScreenShot control and the FileAttachment control respectively:

 

<Control Type="ScreenshotControl" Label="Screenshot:" LabelPosition="Left" />

 

<Tab Label="File Attachments">

   <Control Type="AttachmentsControl2" LabelPosition="Top" />

</Tab>

 

After that the control and its associated .wicc files need to be deployed locally on each machine using the control (and no, the TFS web client will currently not handle custom controls). Team Explorer searches for custom controls in folder “Microsoft\Team Foundation\Work Item Tracking\Custom Controls” under Environment.SpecialFolder.CommonApplicationData folder first, then under Environment.SpecialFolder.LocalApplicationData.

 

So, that was it. Hopefully these little controls will fill part of the gap when it comes to handling screenshots in TFS work items.

Friday, July 20, 2007 1:47:30 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Team System
# Monday, April 16, 2007

 

Lately I’ve been doing a fair bit of programming against the TFS. For most parts it’s been a good experience, what I’ve found most frustrating is the lack of good documentation. So in this post I’ve collected the links I’ve found most useful when developing against the TFS.

 

The functionality in the TFS can generally be accessed either directly through the web services in the application tier or through the TFS client-side object model. Always use the TFS object model. It may be tempting to use the other ways to alter the TFS but the API is intended to shield the application you write from eventual changes in the web service layer.

 

Buck Hodges has a number of code samples on his blog (many won’t run on the RTM version but will still serve as good examples). In particular this post has a set of links to other code samples.

 

These links to MSDN-online are good starting points with both general information and source code:

 

·         How to: Use the TFS SDK to Write Code

·         Work Item Tracking Extensibility

·         Source Control Extensibility

 

For the best set of samples and documentation, download the Visual Studio 2005 SDK. The SDK contains various samples on how to use TFS, work items, source code control, check-in policies. The Visual Studio Industry Partners, VSIP, program has even more content on how to extend the Visual Studio suite including Team Foundation Server. VSIP requires registration but is free for the basic level of participation.

 

Buck Hodges has a post on “How to add the Team Foundation assemblies to the .NET tab in the VS Add Reference dialog”. Having the assemblies available in the "Add reference" dialog will save some time and confusion each time you want to access the TFS object model so it's definately something to setup. On that subject it is recommended to reference the Team Foundation Server assemblies from the SDK (%install path%\VisualStudioIntegration\Common\Assemblies\) instead of using the ones in Visual Studio private assemblies or on the TFS server.

 

These blogs also has a lot of good code samples to use as reference:

 

·