Making Static Code Analysis and Code Contracts work together, or the CA1062 problem

UPDATED: Feb 16th 2012:  Workaround #1 and #2 only works when run-time checking is not enabled. Added workaround #2B which seems to work.  Thanks to David S, Michael S and ZbynekZ for pointing this out, and sorry for not responding faster to this. Also added comments and overviews over what happens for different settings.   Continue Reading →

How to enable Forms authentication in Team Foundation Server 2010 Web Access

Forms authentication is not what “they” normally recommend from a  security point of view, but in some cases it solves access problems. Particularly for companies which doesnt allow the Windows authentication protocol to pass, and those companies do exist.  To enable it in TFS 2010 is a bit more than a oneliner.  The recipe below Continue Reading →

How to fix annoying connection error to TFS server 2010 RC

This issue has popped up for some after having upgraded from Team System Beta 2 to RC.  You have remembered to uninstall everything (as Jakob points out here: http://geekswithblogs.net/jakob/archive/2010/02/09/reember-to-uninstall-all-beta-2-stuff-before-upgrading-to.aspx but you still get the following error box: saying Could not load type ‘Microsoft.TeamFoundation.Client.TeamFoundationServerBase’ from assembly ‘Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. At the same time, you see Continue Reading →

Free seminar on Visual Studio and TFS 2010 in Bergen with NNUG

We’re running a new 2.5 hour seminar on the new Visual Studio 2010 and Team Foundation Server 2010 in Bergen Jan 27th.  See the agenda and invitation at the NNUG site. http://nnug.no/Avdelinger/Bergen/Moter/NNUG-Bergen—Januar-20092/ The seminar runs through a typical development cycle, and using demos demonstrates how Team System 2010 can be utilized to cover the whole Continue Reading →

2010 Branching guidance released by the TFS Rangers team

A new version of the Branching guidance has been released (III), containing very good stuff on how to do branching. It includes labs, sketches and how-to’s. See http://tfsbranchingguideiii.codeplex.com/ One of my favorites is the diagram poster shown below which I’ve used to explain the different branching strategies, and I find this very useful and easy Continue Reading →

Team System Rangers releases TFS Quick Referene Guidance

The Team System Rangers (http://msdn.microsoft.com/en-us/teamsystem/ee358786.aspx) just released a set of real cool Quick Reference Guidance sheets for the Visual Studio 2010 Team System at Codeplex http://vs2010quickref.codeplex.com/.  These guides collects up so much useful information in just a few slides.  I’ve always loved the branching guidance overview slides, explains so much in so little space.  Here Continue Reading →