Terje Sandstrom

------ Chief Software Geek at Inmeta Consulting in Scandinavia ----- and a Visual Studio ALM MVP

  Home  |   Contact  |   Syndication    |   Login
  38 Posts | 1 Stories | 18 Comments | 0 Trackbacks

News

Follow me on twitter: @OsirisTerje

Twitter












Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

Company stuff

Interesting bloggers

Interesting companies

Microsoft

Microsoft Norge

Microsoft Regional Directors

Microsoft Test

MSFT Blogs

MVP

NNUG

Other interesting stuff

TFS

Visual Studio

TFS

Team Foundation Server
UPDATED Jan 9th: Added link to SQL 2008 R2 SP1 CU4 for ghost file fixRecently there has been several reports on TFS databases growing too fast and growing too big. Notable this has been observed when one has started to use more features of the Testing system. Also, the TFS 2010 handles test results differently from TFS 2008, and this leads to more data stored in the TFS databases. As a consequence of this there has been released some tools to remove unneeded data in the database, and also some fixes...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

During the summer Microsoft has released two important hotfixes for the Testing tools. These two hotfixes solves 7 serious problems: # Issue solved Fix in : 1.1 Appdomain error when running a test agent on a computer with Visual Studio installed 1) 1.2 Exception with search error may happen on playback of a coded UI test on some WPF controls 1) 1.3 OutOfMemory exception may occur when creating a work item from the Test Result pane. More frequent when TFS server has many builds. 1) 1.4 Publishing...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

UPDATED Jan 9th 2012: New versions of Resharper, NuGet and Code Contracts. Added link to a blog post by Grant Holiday on TFS/VS SP’s and hotfixes. Added link to CU4 for SQL 2008 R2 SP1. UPDATED Dec 16th: New version of TFS Power tools, and NuGet UPDATED Nov 28th: Added NuGet, new versions WebEssentials & Beyond Compare UPDATED Nov 11th: Added the cloud update to Visual Studio which includes multistep test steps and bug fixes, updates to TFS and SQL, dotPeek, Test Attachment Cleaner and new version...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

We (Mikael Nitell and me) got a whole track on the Norwegian MSDN Live tour this year. We did these as a pair, and covered 4 cities over 4 days, 6 sessions per day, taking 8 hours to come through it. The Islandic volcano made the travels a bit rough, but we managed 6 flights out of 8. The first one had to go by van instead, 7-8 hour drive each way together with other MSDN Live presenters – a memorable tour! Oslo was the absolute top point. We had to change hall to a bigger one. People were crowding,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

One of the 6 sessions I and Mikael Nitell is running on MSDN Live 2010 here in Norway is about Code Quality, and part of that session goes through the use of Code Contracts and Pex. Both fantastic tools ! They can be used together, but are also completely independent from each other, and each can be used single. Code Contracts has to downloaded separately from VS 2010 (works also on VS 2008). Start looking at http://msdn.microsoft.com/e... . This download is a free download....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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 shows you how to enable it. One has to change the web.config file for the Web Access. There are instructions within the file, but those instructions are incorrect and don’t...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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/j... but you still get the following error box: saying Could not load type 'Microsoft.TeamFoundation.C... from assembly 'Microsoft.TeamFoundation.C... Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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/B... The seminar runs through a typical development cycle, and using demos demonstrates how Team System 2010 can be utilized to cover the whole lifecycle. The focus is on the new features in 2010, and we will try to cover as much ground as possible. The seminar is nearly...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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... 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 to explain. You’ll find it in one of the tabs of the Visio file included in the download package. Or you can pick off a lower res image from below:...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

The Team System Rangers (http://msdn.microsoft.com/... just released a set of real cool Quick Reference Guidance sheets for the Visual Studio 2010 Team System at Codeplex http://vs2010quickref.codep... 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 is the same covering many more aspects. A few….well, few is perhaps not the right word…there...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

On codeplex the VSTS Rangers have published the Branching Guidance II (yes, a while ago, but still very true). The basic idea there is the separation between 3 major branches, the Main (or trunk), the Development and the Release branch. One can elaborate on these and use multiple Development branches, and also a tree of release branches, but the basic principle can be summed up with these three. Now, if we look at the different sets of build types we have, see http://geekswithblogs.net/t...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

In Visual Studio the settings for static analysis is done on the project property page, a tab called Code Analysis. You can set which code analysis rules you want to be active. The default in Visual Studio 2008 is to use all. If you run with this default setting you will generate a lot of "noise", since there are a large set of rules. You need to create a set containing the rules you and your team find are suitable for your organization and project. This set you have to apply to every C# project...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

There has always been a controversy between modeling and coding. All from the point where models are to be turned into code automatically, through the state where models are written and then forgotten after coding has started, to the point where one generates models from the code. To me, code and model is representations of the same thing - the problem to be solved, or the solution to the problem. And when the solution matches the problem, which sometimes happens, all is well. So the artifacts one...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

All these three terms are used to describe the behavior of an application. They come from different process methodologies, and have different meanings, characteristics and are intended to be used differently. Larry Guger also discuss these aspects and several others in his blog entries http://continuouslyintegrat... and http://continuouslyintegrat... The Use Case is...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

A build set is a set of builds running on the same solution or set of solutions, catering for different aspects of the Continuous Integration process. Why a set of builds ? Because one size doesn't fit all. Something you want to run quickly and others you want to cover a lot of stuff. This can be divided into a set of aspects. The aspects can be divided into three major parts: Developer aspect. A continuous build running normally at each check in to ensure that the code the developer checks in is...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

At the moment there are five different popular process templates, three from Microsoft official, one on Codeplex (by some Microsoft guys afaik), and one from Conchango. The fields defined in the workitemtypes found in these templates belongs to a set of namespaces. The System namespace is a predefined Microsoft namespace, with special behavior. The other ones are in reality free text. However, since some effort has been placed on defining these namespaces, and some of these fields are used in several...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

I did an article on Subsystem branching (http://geekswithblogs.net/... as a result of a post on the Microsoft forums regarding this. Further, at the PDC 2008 conference now, Grant Holliday made me aware of the TFS Dependency Replicator, which also is a way to solve the problem. It corresponds to the solution I named Solution 3B, however, it's not using the branch/merge facilities, so the TFS itself is not "aware" of the file copied. Anyway,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati