<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Archives on Hermit Blog</title><link>https://hermit.no/archive/</link><description>Recent content in Archives on Hermit Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 04 Nov 2019 16:01:13 +0100</lastBuildDate><atom:link href="https://hermit.no/archive/index.xml" rel="self" type="application/rss+xml"/><item><title>Moving to SDK-Style projects and package references in Visual Studio, part 2</title><link>https://hermit.no/archive/2019-11-04-moving-to-sdk-style-projects-and-package-references-in-visual-studio-part-2/</link><pubDate>Mon, 04 Nov 2019 16:01:13 +0100</pubDate><guid>https://hermit.no/archive/2019-11-04-moving-to-sdk-style-projects-and-package-references-in-visual-studio-part-2/</guid><description>&lt;h4 id="introduction"&gt;Introduction&lt;/h4&gt;&#10;&lt;p&gt;The SDK style projects are the new format that first appeared for .net core, but actually can be used also for nearly any type of projects in the .net world. The old style, or what we could call legacy style, is a very complex style, and it is not uncommon to be the cause of merging issues, and also can cause all sorts of weird behavior. Both styles for a C# project has the extension csproj, even if their content is so different.&lt;/p&gt;</description></item><item><title>New version of the NUnit 2 adapter supporting Visual Studio 2019</title><link>https://hermit.no/archive/2019-06-05-new-version-of-the-nunit-2-adapter-supporting-visual-studio-2019/</link><pubDate>Wed, 05 Jun 2019 19:15:18 +0100</pubDate><guid>https://hermit.no/archive/2019-06-05-new-version-of-the-nunit-2-adapter-supporting-visual-studio-2019/</guid><description>&lt;p&gt;The NUnit 2.X framework have been superseded by the NUnit 3 framework several years ago. Each framework &amp;ldquo;family&amp;rdquo; needs a separate adapter, one for the V2 and one for the V3. The V3 have been maintained continuously, and have 3-4 releases per year. The V2 adapter however, has not been updated since mid 2017.&lt;/p&gt;&#10;&lt;p&gt;The thinking have been that developers should move to the V3 version of the framework. Over time that has happened, but there are still some that need the V2 version for various reasons. Although the V3 framework is an enhancement of V2, there are some breaking changes between them. And for some systems those prevents upgrading.&lt;/p&gt;</description></item><item><title>Moving to SDK-Style projects and package references in Visual Studio, part 1</title><link>https://hermit.no/archive/2019-03-11-moving-to-sdk-style-projects-and-package-references-in-visual-studio-part-1/</link><pubDate>Mon, 11 Mar 2019 21:38:32 +0100</pubDate><guid>https://hermit.no/archive/2019-03-11-moving-to-sdk-style-projects-and-package-references-in-visual-studio-part-1/</guid><description>&lt;h2 id="background"&gt;Background&lt;/h2&gt;&#10;&lt;p&gt;With the introduction of .NET core some time back, Visual Studio got two different project systems. Along with this, we also got two different formats for a &amp;lsquo;csproj&amp;rsquo; file.&#10;The new format have a better way of including packages, called PackageReference. This also made its way into the old style format, and greatly simplifies the csproj file with respect to including nuget packages.&lt;/p&gt;&#10;&lt;h2 id="naming"&gt;&lt;strong&gt;Naming&lt;/strong&gt;&lt;/h2&gt;&#10;&lt;p&gt;These formats have not really had any proper naming, but over time the following names have appeared:&lt;/p&gt;</description></item><item><title>How to find the best gitignore for Visual Studio and Azure DevOps</title><link>https://hermit.no/archive/2019-02-04-how-to-find-the-best-gitignore-for-visual-studio-and-azure-devops/</link><pubDate>Mon, 04 Feb 2019 12:34:26 +0100</pubDate><guid>https://hermit.no/archive/2019-02-04-how-to-find-the-best-gitignore-for-visual-studio-and-azure-devops/</guid><description>&lt;p&gt;This post came about as a result of a an interesting question raised by my good friend &lt;a href="https://www.scrum.org/richard-hundhausen"&gt;Richard Hundhausen&lt;/a&gt; in &lt;a href="http://accentient.com/"&gt;Accentient&lt;/a&gt;. It turned out into some very interesting observations, and a few ways of handling this.&lt;/p&gt;&#10;&lt;h2 id="background"&gt;Background&lt;/h2&gt;&#10;&lt;p&gt;When you&amp;rsquo;re starting up a new git repository for a Visual Studio project, you need a .gitignore file that matches. The gitignore file ensures that working files and folders that are not to go into source control are kept out. As Visual Studio and its extensions are growing, this list of files and folders are increasing. You need to have a gitignore file that at least matches the version of Visual Studio you&amp;rsquo;re using.&#10;Most developers notice files that they don&amp;rsquo;t think should be in source control, and exclude those (and then adds them to the gitignore file they have), but in many cases they don&amp;rsquo;t even know what that file is for, and it is inadvertently added in. Normally not causing any problem locally for that single developer, but then it may fail for the next developer down the line, or it may fail during CI builds.&#10;So it is much better to get the correct and full gitignore file when you start up your project. Less work later!&#10;And what could possibly go wrong?&lt;/p&gt;</description></item><item><title>A story on working with NUnit backward compatibility, and dependencies</title><link>https://hermit.no/archive/2019-01-26-a-story-on-working-with-nunit-backward-compatibility-and-dependencies/</link><pubDate>Sat, 26 Jan 2019 20:18:27 +0100</pubDate><guid>https://hermit.no/archive/2019-01-26-a-story-on-working-with-nunit-backward-compatibility-and-dependencies/</guid><description>&lt;p&gt;NUnit as a project has a tradition of keeping backwards compatibility. It ensures that even if you stay on a earlier version of Visual Studio, .net FrameWork, or whatever it is, NUnit should continue to work even with upgrades of NUnit.&#10;So also for the NUnitAdapter. It should work on any version of Visual Studio after the 2012 version. We have managed to maintain that.&#10;However, over time it has become harder and harder to verify the compatibility. Microsoft has increased their release pace, and the number of versions and variations of Visual Studio has subsequently increased tremendously over the last years. We have not found an easy way to test all the possible variations, so have had to do a set of minimum tests, then respond quickly when someone raises an issue. Fortunately, there have not been many of those. We rely to a large degree on peer reviews using pull requests, which have weeded out most of these issues.&lt;/p&gt;</description></item><item><title>How to convert NUnit Assert.AreEqual to fluent Assert.That syntax easily</title><link>https://hermit.no/archive/2018-11-03-how-to-convert-nunit-assert-areequal-to-fluent-assert-that-syntax-easily/</link><pubDate>Sat, 03 Nov 2018 21:51:11 +0100</pubDate><guid>https://hermit.no/archive/2018-11-03-how-to-convert-nunit-assert-areequal-to-fluent-assert-that-syntax-easily/</guid><description>&lt;p&gt;Once upon a time it was declared that an Assert statement should have constraints given as AreEqual and AreNotEqual. Further it was declared that it should be written in the opposite way of how a developer will think, that is with the expected value first and the actual value last. Why this was made so, is still unclear.&lt;/p&gt;&#10;&lt;p&gt;And then we end up with tons of code like:&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;Assert.AreEqual(&amp;ldquo;Zulu&amp;rdquo;, zulu.Name);&#10;Assert.AreEqual(&amp;ldquo;Z - Zulu&amp;rdquo;, zulu.Description);&#10;Assert.AreEqual(FlagType.Signal, zulu.Sort);&#10;Assert.AreEqual(0.7, zulu.AspectRatio);&lt;/code&gt;&lt;/p&gt;</description></item><item><title>How to extend the NUnit constraints</title><link>https://hermit.no/archive/2018-11-01-how-to-extend-the-nunit-constraints/</link><pubDate>Thu, 01 Nov 2018 02:19:54 +0100</pubDate><guid>https://hermit.no/archive/2018-11-01-how-to-extend-the-nunit-constraints/</guid><description>&lt;p&gt;&lt;a href="http://nunit.org/"&gt;NUnit&lt;/a&gt; has a very rich and readable constraint set.  Normally you don’t need to do anything. But, there are some cases where it would be nice to be able to tweak these constraints.  You can always wrap them and extend them that way, but then you lose all the other good stuff, like chaining.  What is not so well known is that you can extend the existing constraints, they are &lt;strong&gt;designed&lt;/strong&gt; to be extendable!   In this post I will show how you can do that easily.&lt;/p&gt;</description></item><item><title>Visual Studio and Azure DevOps Git: Extend the git command line with server commands&amp;ndash;Part 2</title><link>https://hermit.no/archive/2018-09-23-visual-studio-and-azure-devops-git-extend-the-git-command-line-with-server-commands-part-2/</link><pubDate>Sun, 23 Sep 2018 20:05:00 +0100</pubDate><guid>https://hermit.no/archive/2018-09-23-visual-studio-and-azure-devops-git-extend-the-git-command-line-with-server-commands-part-2/</guid><description>&lt;p&gt;The &lt;a href="http://hermit.no/visual-studio-and-vsts-git-extend-the-git-command-line-to-speed-up-your-workflow-part-1/"&gt;former post&lt;/a&gt; in this series showed how you could add aliases to the git command line, and showed how some simple aliases can simplify your command line work.&lt;/p&gt;&#10;&lt;p&gt;This post show how you can extend that to work more actively with the &lt;a href="https://visualstudio.microsoft.com/team-services/"&gt;Azure DevOps (formerly known as VSTS)&lt;/a&gt; server hosting your repository. (If you don&amp;rsquo;t have an account here, please consider doing that, it is free for modest individual use!)&lt;/p&gt;&#10;&lt;p&gt;You can do all of this from the combination of Visual Studio, and the web browser, but going through all those UI&amp;rsquo;s is like a good friend said: &amp;ldquo;and after 56 more clicks&amp;hellip;..&amp;quot;.   Using the command line is just so much faster - but in order to be effective the number of parameters must be cut down to something manageable.  And that is what this is about!&lt;/p&gt;</description></item><item><title>Visual Studio and VSTS Git: Extend the git command line to speed up your workflow&amp;ndash;Part 1</title><link>https://hermit.no/archive/2018-08-25-visual-studio-and-vsts-git-extend-the-git-command-line-to-speed-up-your-workflow-part-1/</link><pubDate>Sat, 25 Aug 2018 11:13:56 +0100</pubDate><guid>https://hermit.no/archive/2018-08-25-visual-studio-and-vsts-git-extend-the-git-command-line-to-speed-up-your-workflow-part-1/</guid><description>&lt;p&gt;The most basic Git commands are built into the Visual Studio Team Explorer.   The Team Explorer will cover your basic needs, but once you get beyond that, you will need to drop down to the command line.    The commands are more explicit there, and you have more options, but you will soon tire of having to repeat the same basic commands again and again.  Enter the Git aliases – and you can easily make your most used commands so much more short and effective. &lt;/p&gt;</description></item><item><title>VSIX based Test Adapters to be deprecated in Visual Studio for C# and Visual Basic to speed up testing</title><link>https://hermit.no/archive/2018-07-08-vsix-based-test-adapters-to-be-deprecated-in-visual-studio-for-c-and-visual-basic-to-speed-up-testing/</link><pubDate>Sun, 08 Jul 2018 13:16:14 +0100</pubDate><guid>https://hermit.no/archive/2018-07-08-vsix-based-test-adapters-to-be-deprecated-in-visual-studio-for-c-and-visual-basic-to-speed-up-testing/</guid><description>&lt;p&gt;Test Adapters come in two flavors, VSIX based and Nuget based. The VSIX based are installed as extensions to Visual Studio and therefore will apply to all solutions you load, The Nuget based adapter packages must be installed at least into one project in your solution and will only work for that solution.&lt;/p&gt;&#10;&lt;p&gt;All versions of Visual Studio have supported both flavors, but from &lt;strong&gt;Visual Studio 2017 Update 15.8 (Preview 4) the VSIX based adapters for C# and Visual Basic will be deprecated&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>A series of short recipes for VSTS, VISUAL STUDIO and NUnit</title><link>https://hermit.no/archive/2018-06-12-a-series-of-short-recipes-for-vsts-visual-studio-and-nunit/</link><pubDate>Tue, 12 Jun 2018 09:58:57 +0100</pubDate><guid>https://hermit.no/archive/2018-06-12-a-series-of-short-recipes-for-vsts-visual-studio-and-nunit/</guid><description>&lt;p&gt;I have had a need to have more easy access to information on how to do certain stuff, and have some easy access to simple code blocks, or templates, I can copy/paste.  A blog post is for me somewhat more extensive, and that format was not really suited for smaller notes.  So I decided to write them down as “recipes”, which is a small post, larger than a post-it, but smaller than a full blown blog post.&lt;/p&gt;</description></item><item><title>Recommended extensions for Visual Studio 2017</title><link>https://hermit.no/archive/2018-03-22-recommended-extensions-for-visual-studio-2017/</link><pubDate>Thu, 22 Mar 2018 17:15:22 +0100</pubDate><guid>https://hermit.no/archive/2018-03-22-recommended-extensions-for-visual-studio-2017/</guid><description>&lt;p&gt;It is time to reestablish my list of recommended VSIX extensions to Visual Studio, for 2017 and higher.   The list of tools you install now with VSIX is less than before, since so many more tools are available as nuget packages, but there are still some that are very helpful.  The list below show some of the ones I have found most useful.   I have also added a few non-VSIX tools, but which also installs into Visual Studio.&lt;/p&gt;</description></item><item><title>How to conditionally fail a build in a pull requests with TFS/VSTS</title><link>https://hermit.no/archive/2018-02-05-conditionally-fail-build-pull-requests-tfs-vsts/</link><pubDate>Mon, 05 Feb 2018 18:31:17 +0100</pubDate><guid>https://hermit.no/archive/2018-02-05-conditionally-fail-build-pull-requests-tfs-vsts/</guid><description>&lt;p&gt;When your TFS/VSTS CI build is also used for a pull request, you often want to enable more checks before you let this go into the master (or any target) branch, and fail the build if these raise warnings.&lt;/p&gt;&#10;&lt;p&gt;It can be extra tests you want to run, code quality checks,  process checks, and  you might want to block the pull request if you have warnings from these.&lt;/p&gt;&#10;&lt;p&gt;Setting a single test task to fail could be done, but that only works well if you have a single step, with multiple tasks you will have build stops for one and every step, so it also reduces the error reporting granularity.  And, it is nice to be able to see what is an absolutely blocker, red, and what is quality issues, yellow.&lt;/p&gt;</description></item><item><title>Managing userdumps using IFIX</title><link>https://hermit.no/archive/2018-01-08-managing-userdumps-using-ifix/</link><pubDate>Mon, 08 Jan 2018 11:47:11 +0100</pubDate><guid>https://hermit.no/archive/2018-01-08-managing-userdumps-using-ifix/</guid><description>&lt;p&gt;User dumps are powerful diagnostics you can enable when an application crashes, and in particular when you see no obvious reason for it to crash.&lt;/p&gt;&#10;&lt;p&gt;In my case I have been struggling with Visual Studio crashes, and have been reporting these back to Microsoft.  The devs there love user dumps, because they show the exact state of the application when it crashed.   A user dump can be opened in a debugger, to reveal call stacks and lot of other useful information.&lt;/p&gt;</description></item><item><title>How to resolve cases of Visual Studio &amp;ldquo;No tests appearing&amp;rdquo;</title><link>https://hermit.no/archive/2017-12-29-how-to-resolve-cases-of-visual-studio-no-tests-appearing/</link><pubDate>Fri, 29 Dec 2017 21:22:09 +0100</pubDate><guid>https://hermit.no/archive/2017-12-29-how-to-resolve-cases-of-visual-studio-no-tests-appearing/</guid><description>&lt;p&gt;The Visual Studio Test Explorer can be a bit picky about showing tests.  There are multiple reasons for why they don’t always show up when you expect them to do, and most of the cases are &lt;a href="https://en.wiktionary.org/wiki/PEBCAK"&gt;PEBKAC&lt;/a&gt; type of issues.  That doesn’t mean it is easy, there are just becoming too many variations, and Visual Studio does not tell you what is really wrong.&lt;/p&gt;&#10;&lt;p&gt;The different variations of targets and adapters doesn’t make this easier.  To help in diagnosing this, I have created the diagnostic flow chart shown below.   Further below you will find the comments for each block and how to rectify the issues, if you don’t already know.  The flowchart is mostly general, although I use NUnit as the default adapter in the examples.&lt;/p&gt;</description></item><item><title>Adding a terminal window to Visual Studio 2017</title><link>https://hermit.no/archive/2017-12-03-adding-a-terminal-window-to-visual-studio-2017/</link><pubDate>Sun, 03 Dec 2017 11:49:00 +0100</pubDate><guid>https://hermit.no/archive/2017-12-03-adding-a-terminal-window-to-visual-studio-2017/</guid><description>&lt;p&gt;Visual Studio 2017 lack a proper internal terminal.  The &lt;a href="https://marketplace.visualstudio.com/items?itemName=MadsKristensen.OpenCommandLine"&gt;Command Line extension&lt;/a&gt; has been a good substitute, but it opens up in a separate window.  If you work with multiple Visual Studio at the same time, you loose track of which command window belongs to which Visual Studio instance. &lt;p&gt;Visual Studio Code has it&amp;rsquo;s own Terminal window built-in, so why not Visual Studio itself?  Well, now it is here, a pre-pre tool called Whack Whack (named so because of how you open it).   &lt;p&gt;&lt;a href="../images/2017/12/image.png"&gt;&lt;img src="../images/2017/12/image_thumb.png" alt="image"&gt;&lt;/a&gt; &lt;p&gt;It runs default with Powershell, and if you have installed &lt;a href="https://github.com/dahlbyk/posh-git"&gt;Posh-git&lt;/a&gt; with your powershell, it also lights up inside WhackWhack, which is super cool!  If you don’t know posh-git, it adds some cool extras to the command prompt for git, like shown above – you see the current branch and the git status straight off the command prompt and tab completes for commands and branches. &lt;p&gt;You can download the &lt;a href="https://marketplace.visualstudio.com/items?itemName=DanielGriffen.WhackWhackTerminal"&gt;Whack Whack terminal from the Visual Studio marketplace&lt;/a&gt;, and the project is &lt;a href="https://github.com/Microsoft/WhackWhackTerminal"&gt;open sourced at Github&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>How to change test naming in Visual Studio using NUnit</title><link>https://hermit.no/archive/2017-08-15-how-to-change-visual-studio-test-explorer-testnaming-using-nunit/</link><pubDate>Tue, 15 Aug 2017 07:42:03 +0100</pubDate><guid>https://hermit.no/archive/2017-08-15-how-to-change-visual-studio-test-explorer-testnaming-using-nunit/</guid><description>&lt;p&gt;The Visual Studio Test Explorer user interface have been nearly the same since 2012, with only a few minor updates.  One thing that have annoyed a few people are how the test names are displayed.   The Test Explorer have got a bit of critique on this, but it is not that hardcoded.  It can be tweaked!   With &lt;a href="https://www.nuget.org/packages/NUnit/"&gt;NUnit3&lt;/a&gt; and the &lt;a href="https://www.nuget.org/packages/NUnit3TestAdapter/"&gt;NUnit3TestAdapter&lt;/a&gt; version 3.8 you can configure this naming yourself, which makes for some interesting possibilities.&lt;/p&gt;</description></item><item><title>WrapThat.System : Wrappers for system.io to simplify unit testing</title><link>https://hermit.no/archive/2017-04-22-wrapthat-system-wrappers-for-system-io-to-simplify-unit-testing/</link><pubDate>Sat, 22 Apr 2017 10:48:17 +0100</pubDate><guid>https://hermit.no/archive/2017-04-22-wrapthat-system-wrappers-for-system-io-to-simplify-unit-testing/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;You have all seen it, you have all done it: Written code using the static methods from the System.IO namespace for handling directories and files.   Or, you are maintaining legacy code where that usage is common in certain places.  And now the code is huge,  you have no unit tests, because unit testing classes that directly access the file system is just pain,  and the cost of a rewrite is too big.&lt;/p&gt;</description></item><item><title>How to control the selection of test runner in TFS/VSTS, making it work with x86/x64 selected targets</title><link>https://hermit.no/archive/2016-08-21-how-to-control-the-selection-of-test-runner-in-tfsvsts-making-it-work-with-x86x64-selected-targets/</link><pubDate>Sun, 21 Aug 2016 21:27:06 +0100</pubDate><guid>https://hermit.no/archive/2016-08-21-how-to-control-the-selection-of-test-runner-in-tfsvsts-making-it-work-with-x86x64-selected-targets/</guid><description>&lt;p&gt;When you do test runs with the Test Explorer in Visual Studio, you can select to use either a x86 or a x64 test runner.  Now, if you select to create an AnyCPU target for that component, it will not matter which one you choose, but if you select a target x86 or x64, the selected test runner has to match the selected target.  Otherwise no tests will be visible in the Test Explorer. &lt;/p&gt;</description></item><item><title>IFIX: Create Solution Skeleton File</title><link>https://hermit.no/archive/2016-06-19-ifix-create-solution-skeleton-file/</link><pubDate>Sun, 19 Jun 2016 12:14:51 +0100</pubDate><guid>https://hermit.no/archive/2016-06-19-ifix-create-solution-skeleton-file/</guid><description>&lt;p&gt;&lt;strong&gt;Download&lt;/strong&gt;:  &lt;a href="http://visualstudiogallery.msdn.microsoft.com/b8ba97b0-bb89-4c21-a1e2-53ef335fd9cb"&gt;IFix 1.7&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;When I start creating a new solution I normally want this in its own git repository, and I catch myself adding the same stuff over and over again.   And, I often get the folder structures wrong,  I seem to never get the hang of when and where Visual Studio creates a folder for the solution, why the solution ends up at the same place as the first csproj file, and I often end up moving things around to get it the way I want it.&lt;/p&gt;</description></item><item><title>VIsual Studio 2015&amp;ndash;Git Amend&amp;ndash;Commit</title><link>https://hermit.no/archive/2016-06-16-visual-studio-2015-git-amend-commit/</link><pubDate>Thu, 16 Jun 2016 22:31:40 +0100</pubDate><guid>https://hermit.no/archive/2016-06-16-visual-studio-2015-git-amend-commit/</guid><description>&lt;p&gt;This post is written for those going from TFS Version Control to Git, and is an introduction to a smart improvement in Visual Studio 2015 - Commit Amend. Command Line enthusiasts already know how this is done, but it may still be useful to see how this is resolved in Visual Studio.&lt;/p&gt;&#10;&lt;p&gt;In TFS VC  the checkin command is used to add files to version control. The command saves the file to the central TFS VC system. When using Git you operate on your own local git repository first - by committing changes to the local and then you push these changes to the external remote repository.&lt;/p&gt;</description></item><item><title>Test Data Retention policy added in TFS update 1</title><link>https://hermit.no/archive/2016-04-24-test-data-retention-policy-added-in-tfs-update-1/</link><pubDate>Sun, 24 Apr 2016 18:32:18 +0100</pubDate><guid>https://hermit.no/archive/2016-04-24-test-data-retention-policy-added-in-tfs-update-1/</guid><description>&lt;p&gt;There has been an issue with growing databases due to test data and test attachments not being deleted.  I have an earlier &lt;a href="http://geekswithblogs.net/terje/archive/2011/11/15/guide-to-reduce-tfs-database-growth-using-the-test-attachment.aspx"&gt;blogpost&lt;/a&gt; ( also &lt;a href="http://hermit.no/guide-to-reduce-tfs-database-growth-using-the-test-attachment-cleaner/"&gt;here&lt;/a&gt;)  on how to fix this, using a tool called Test Attachment Cleaner, and also containing a set of scripts you can run on your server to check on how your database sizes.&lt;/p&gt;&#10;&lt;p&gt;In TFS 2015 update 1 this was fixed by building a data retention policy in to the TFS.  This works both for on-premises and for &lt;a href="https://www.visualstudio.com/en-us/products/visual-studio-team-services-vs.aspx"&gt;VSTS&lt;/a&gt; instances.&lt;/p&gt;</description></item><item><title>How to fix Visual studio loading errors, using IFix</title><link>https://hermit.no/archive/2016-01-12-how-to-fix-visual-studio-loading-errors-using-ifix/</link><pubDate>Tue, 12 Jan 2016 13:19:00 +0100</pubDate><guid>https://hermit.no/archive/2016-01-12-how-to-fix-visual-studio-loading-errors-using-ifix/</guid><description>&lt;p&gt;Visual Studio is normally a very stable environment, but some times it might crash on you.  This might happen if you either install some new extension, or even if you update Visual Studio.  The latter can be rather annoying of course.&lt;/p&gt;&#10;&lt;p&gt;A “common” error message is the loading error, it says it can’t load some component correctly, like in the image below.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="../images/2016/01/image.png"&gt;&lt;img src="../images/2016/01/image_thumb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;What component it is might vary, it doesn’t seem to be any pattern to it.  And some times it even give you multiple of these.&lt;/p&gt;</description></item><item><title>Visual Studio 2015 and NUnit, with a little NuGet issue</title><link>https://hermit.no/archive/2014-11-14-visual-studio-2015-and-nunit-with-a-little-nuget-issue/</link><pubDate>Fri, 14 Nov 2014 14:20:52 +0100</pubDate><guid>https://hermit.no/archive/2014-11-14-visual-studio-2015-and-nunit-with-a-little-nuget-issue/</guid><description>&lt;p&gt;&lt;font size="2" face="Segoe UI"&gt;&lt;strong&gt;NUGET&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2" face="Segoe UI"&gt;The current version 1.2 of the NuGet adapters for NUnit works with the VS 2015 Preview (and earlier CTPs).  &lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2" face="Segoe UI"&gt;You can find them here:  &lt;/font&gt;&lt;a href="http://www.nuget.org/packages/NUnitTestAdapter/"&gt;http://www.nuget.org/packages/NUnitTestAdapter/&lt;/a&gt;&lt;font size="2" face="Segoe UI"&gt;  and with framework: &lt;/font&gt;&lt;a href="http://www.nuget.org/packages/NUnitTestAdapter.WithFramework/"&gt;http://www.nuget.org/packages/NUnitTestAdapter.WithFramework/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2" face="Segoe UI"&gt;Add one of these to your solution and it works without having the VSIX installed, both for VS2015 and for TFS build, including VSO build.  Note that you only need to add one of these to one of your projects in the solution.  &lt;/font&gt;&lt;/p&gt;</description></item><item><title>Visual Studio &amp;amp; TFS 2013 &amp;ndash; List of extensions and tools (Part 2)</title><link>https://hermit.no/archive/2014-09-19-visual-studio-amp-tfs-2013-ndash-list-of-extensions-and-tools-part-2/</link><pubDate>Fri, 19 Sep 2014 10:00:30 +0100</pubDate><guid>https://hermit.no/archive/2014-09-19-visual-studio-amp-tfs-2013-ndash-list-of-extensions-and-tools-part-2/</guid><description>&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #000000;"&gt;Go to &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/12/14/visual-studio-and-tfs-2013-list-of-product-updates-part.aspx"&gt;Part 1 – List of Product Updates&lt;/a&gt;&lt;/u&gt; for information on Visual Studio and TFS 2013 updates&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #000000;"&gt;Looking for the VS 2012 product updates and extensions ?  Go to &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/08/18/visual-studio-and-tfs-2012-product-installations-upgrades-and-patches.aspx"&gt;Visual Studio 2012 Product and updates (Part 1)&lt;/a&gt;&lt;/u&gt;  and &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;Visual Studio 2012 extensions (Part 2)&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;span style="color: #000000;"&gt;Looking for the VS 2010 extensions ? Go to &lt;/span&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2010/12/05/visual-studio-amp-tfs-ndash-list-of-addins-extensions-patches.aspx"&gt;Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2)&lt;/a&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;u&gt;.&lt;/u&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Visual Studio Build fails with MSB4086 after NuGet Update-packages command</title><link>https://hermit.no/archive/2014-09-19-visual-studio-build-fails-with-msb4086-after-nuget-update-packages-command/</link><pubDate>Fri, 19 Sep 2014 00:38:10 +0100</pubDate><guid>https://hermit.no/archive/2014-09-19-visual-studio-build-fails-with-msb4086-after-nuget-update-packages-command/</guid><description>&lt;p&gt;I just got into some strange errors after I had done a NuGet update-packages of some package.  The build of the solution after the update failed with a strange error on some numeric comparison which could not be done:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://gwb.blob.core.windows.net/terje/Windows-Live-Writer/Nuget-Update-packages_1464A/image_2.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-Nuget-Update-packages_1464A-image_thumb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;This one followed by an error list like this:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://gwb.blob.core.windows.net/terje/Windows-Live-Writer/Nuget-Update-packages_1464A/image_4.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-Nuget-Update-packages_1464A-image_thumb_1.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Restarting Visual Studio makes it go away, but it is still a nuisance.&lt;/p&gt;&#10;&lt;p&gt;Since this happened after a NuGet operation I found it useful to mention this to &lt;a href="http://www.xavierdecoster.com/"&gt;Xavier Decoster&lt;/a&gt; , the author of the &lt;a href="http://www.amazon.com/Pro-NuGet-Experts-Voice-NET/dp/1430260017"&gt;Pro NuGet book&lt;/a&gt;, and also one of the founders of the superb &lt;a href="http://www.myget.org/"&gt;MyGet&lt;/a&gt; service, and he asked if I might be using &lt;a href="http://www.jetbrains.com/resharper/"&gt;ReSharper&lt;/a&gt;.  Which I of course could confirm, who doesn’t ?&lt;/p&gt;</description></item><item><title>Visual Studio and TFS 2013 List of Product Updates (Part 1)</title><link>https://hermit.no/archive/2014-07-07-visual-studio-and-tfs-2013-list-of-product-updates-part-1/</link><pubDate>Mon, 07 Jul 2014 19:40:55 +0100</pubDate><guid>https://hermit.no/archive/2014-07-07-visual-studio-and-tfs-2013-list-of-product-updates-part-1/</guid><description>&lt;p&gt;Looking for &lt;a href="http://geekswithblogs.net/terje/archive/2013/12/14/visual-studio-amp-tfs-2013-ndash-list-of-extensions-and.aspx"&gt;List of VS 2013 Extensions (Part 2)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Updated Oct 17th 2014: &lt;a href="http://go.microsoft.com/fwlink/?LinkId=510314"&gt;Visual Studio and TFS 2013 Update 4 RC&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Looking for the VS 2012 product info and extensions?  Go to &lt;a href="http://geekswithblogs.net/terje/archive/2013/08/18/visual-studio-and-tfs-2012-product-installations-upgrades-and-patches.aspx"&gt;Visual Studio 2012 Product and updates (Part 1)&lt;/a&gt;  and &lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;Visual Studio 2012 extensions (Part 2)&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Looking for the VS 2010 extensions ? Go to &lt;a href="http://geekswithblogs.net/terje/archive/2010/12/05/visual-studio-amp-tfs-ndash-list-of-addins-extensions-patches.aspx"&gt;Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2)&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Looking for links to the &lt;a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/02/visual-studio-11-beta-unit-testing-plugins-list.aspx"&gt;Test Adapters&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>GitIgnore&amp;ndash;How to exclude Nuget packages at any level, and make re-include work</title><link>https://hermit.no/archive/2014-07-04-gitignore-ndash-how-to-exclude-nuget-packages-at-any-level-and-make-re-include-work/</link><pubDate>Fri, 04 Jul 2014 00:06:15 +0100</pubDate><guid>https://hermit.no/archive/2014-07-04-gitignore-ndash-how-to-exclude-nuget-packages-at-any-level-and-make-re-include-work/</guid><description>&lt;p&gt;The .gitignore file contains rules for what files and folders to exclude from git source control.  When you use NuGet you don’t want the binaries retrieved by NuGet to be included into your git repository.  The binaries (and other files) from a NuGet package is downloaded into a folder named packages by default.   You need to add some rules to the gitignore file to exclude this folder from the repository.&lt;/p&gt;</description></item><item><title>Fixing up Visual Studio&amp;rsquo;s gitignore , using IFix</title><link>https://hermit.no/archive/2014-06-13-fixing-up-visual-studio-rsquo-s-gitignore-using-ifix/</link><pubDate>Fri, 13 Jun 2014 17:59:29 +0100</pubDate><guid>https://hermit.no/archive/2014-06-13-fixing-up-visual-studio-rsquo-s-gitignore-using-ifix/</guid><description>&lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/b8ba97b0-bb89-4c21-a1e2-53ef335fd9cb"&gt;Download tool&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Updated 3.July 2014:  Corrected pattern for NuGet, details in &lt;a href="http://geekswithblogs.net/terje/archive/2014/07/03/gitignorendashhow-to-exclude-nuget-packages-at-any-level-and-make.aspx"&gt;this blogpost&lt;/a&gt;. (&lt;a href="http://visualstudiogallery.msdn.microsoft.com/b8ba97b0-bb89-4c21-a1e2-53ef335fd9cb"&gt;IFix&lt;/a&gt; is in progress to be updated too, version 1.1 will have these fixes)&lt;/p&gt;&#10;&lt;p&gt;Is there anything wrong with the built-in Visual Studio gitignore ????&lt;/p&gt;&#10;&lt;p&gt;Yes, there is !&lt;/p&gt;&#10;&lt;p&gt;First, some background:&lt;/p&gt;&#10;&lt;p&gt;When you set up a git repo, it should be small and not contain anything not really needed.  One thing you should not have in your git repo is binary files.&lt;/p&gt;</description></item><item><title>Converting projects to use Automatic NuGet restore, using IFix</title><link>https://hermit.no/archive/2014-06-11-converting-projects-to-use-automatic-nuget-restore-using-ifix/</link><pubDate>Wed, 11 Jun 2014 22:10:40 +0100</pubDate><guid>https://hermit.no/archive/2014-06-11-converting-projects-to-use-automatic-nuget-restore-using-ifix/</guid><description>&lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/b8ba97b0-bb89-4c21-a1e2-53ef335fd9cb"&gt;Download tool&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;In version 2.7 of NuGet automatic nuget restore was introduced, meaning you no longer need to distort your msbuild project files with nuget target information.   Visual Studio and TFS 2013 build have this enabled by default.&lt;/p&gt;&#10;&lt;p&gt;However, if your project was created before this was introduced, and/or if you have used the “Enable NuGet Package Restore” afterwards, you now have a series of unwanted things in your projects, and a series of project files that have been modified – and – you no longer neither want nor need this !  You might also get into some unwanted issues due to these modifications.  This is a MSBuild modification that was needed only before NuGet 2.7 !&lt;/p&gt;</description></item><item><title>Fix for the &amp;lsquo;Could not find test executor&amp;rsquo; issue with NUnit, XUnit and Chutzpah when using ReSharper in Visual Studio</title><link>https://hermit.no/archive/2014-02-09-fix-for-the-lsquo-could-not-find-test-executor-rsquo-issue-with-nunit-xunit-and-chutzpah-when-using-resharper-in-visual-studio/</link><pubDate>Sun, 09 Feb 2014 00:25:00 +0100</pubDate><guid>https://hermit.no/archive/2014-02-09-fix-for-the-lsquo-could-not-find-test-executor-rsquo-issue-with-nunit-xunit-and-chutzpah-when-using-resharper-in-visual-studio/</guid><description>&lt;p&gt;This issue is resolved in the latest ReSharper release, version 8.2.0.2160, &lt;a href="http://www.jetbrains.com/resharper/download/"&gt;download here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;The issue appears when using the Test Explorer to run tests in any of the frameworks mentioned in the title.  The tests are shown in the Test Explorer, but are not executed.  It may look like this:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://gwb.blob.core.windows.net/terje/Windows-Live-Writer/Fix-for-the_14BC8/image_8.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-Fix-for-the_14BC8-image_thumb_3.png" alt="image" title="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Note:  The tests shown dimmed are NUnit and XUnit tests, which have the issue. The other tests are MSTests, which are not affected. The tests are discovered by the adapter, but not executed.&lt;/p&gt;</description></item><item><title>On C++ Operator Patterns</title><link>https://hermit.no/archive/2014-01-13-on-c-operator-patterns/</link><pubDate>Mon, 13 Jan 2014 17:16:42 +0100</pubDate><guid>https://hermit.no/archive/2014-01-13-on-c-operator-patterns/</guid><description/></item><item><title>Visual Studio &amp;amp; TFS 2013 &amp;ndash; List of extensions and tools (Part 2)</title><link>https://hermit.no/archive/2013-12-14-visual-studio-amp-tfs-2013-ndash-list-of-extensions-and-tools-part-2-2/</link><pubDate>Sat, 14 Dec 2013 23:51:18 +0100</pubDate><guid>https://hermit.no/archive/2013-12-14-visual-studio-amp-tfs-2013-ndash-list-of-extensions-and-tools-part-2-2/</guid><description>&lt;p&gt;&lt;br /&gt;&lt;font size="2"&gt;Go to &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/12/14/visual-studio-and-tfs-2013-list-of-product-updates-part.aspx"&gt;Part 1 – List of Product Updates&lt;/a&gt;&lt;/u&gt; for information on Visual Studio and TFS 2013 updates&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Looking for the VS 2012 product updates and extensions ?  Go to &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/08/18/visual-studio-and-tfs-2012-product-installations-upgrades-and-patches.aspx"&gt;Visual Studio 2012 Product and updates (Part 1)&lt;/a&gt;&lt;/u&gt;  and &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;Visual Studio 2012 extensions (Part 2)&lt;/a&gt;&lt;/u&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Looking for the VS 2010 extensions ? Go to &lt;/font&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2010/12/05/visual-studio-amp-tfs-ndash-list-of-addins-extensions-patches.aspx"&gt;Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2)&lt;/a&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;u&gt;.&lt;/u&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt;Looking for links to the test adapters, go to &lt;/font&gt;&lt;a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/02/visual-studio-11-beta-unit-testing-plugins-list.aspx"&gt;this blog post&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Visual Studio and TFS 2013 List of Product Updates (Part 1)</title><link>https://hermit.no/archive/2013-12-14-visual-studio-and-tfs-2013-list-of-product-updates-part-1-2/</link><pubDate>Sat, 14 Dec 2013 17:50:42 +0100</pubDate><guid>https://hermit.no/archive/2013-12-14-visual-studio-and-tfs-2013-list-of-product-updates-part-1-2/</guid><description>&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;This post is continued &lt;a href="http://geekswithblogs.net/terje/archive/2014/07/07/visual-studio-and-tfs-2013-list-of-product-updates-part-again.aspx"&gt;here&lt;/a&gt;!&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Looking for &lt;a href="http://geekswithblogs.net/terje/archive/2013/12/14/visual-studio-amp-tfs-2013-ndash-list-of-extensions-and.aspx"&gt;List of VS 2013 Extensions (Part 2)&lt;/a&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;&lt;font color="#ff0000"&gt;Updated April 12th 2014:  &lt;a href="http://www.visualstudio.com/en-us/downloads/prerelease-software-downloads-vs"&gt;Visual Studio 2013 Update 2 RC&lt;/a&gt;&lt;font size="2"&gt; &amp;amp;  &lt;/font&gt;&lt;a href="http://www.visualstudio.com/downloads/download-visual-studio-vs"&gt;TFS Server 2013 Update 2&lt;/a&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Looking for the VS 2012 product info and extensions?  Go to &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/08/18/visual-studio-and-tfs-2012-product-installations-upgrades-and-patches.aspx"&gt;Visual Studio 2012 Product and updates (Part 1)&lt;/a&gt;&lt;/u&gt;  and &lt;u&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;Visual Studio 2012 extensions (Part 2)&lt;/a&gt;&lt;/u&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Looking for the VS 2010 extensions ? Go to &lt;/font&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2010/12/05/visual-studio-amp-tfs-ndash-list-of-addins-extensions-patches.aspx"&gt;Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2)&lt;/a&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;u&gt;.&lt;/u&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>How to exclude code from Code Coverage in Visual Studio unit testing using runsettings</title><link>https://hermit.no/archive/2013-12-04-how-to-exclude-code-from-code-coverage-in-visual-studio-unit-testing-using-runsettings/</link><pubDate>Wed, 04 Dec 2013 21:49:02 +0100</pubDate><guid>https://hermit.no/archive/2013-12-04-how-to-exclude-code-from-code-coverage-in-visual-studio-unit-testing-using-runsettings/</guid><description>&lt;p&gt;Download:  &lt;a href="http://visualstudiogallery.msdn.microsoft.com/601bd207-5889-4935-b101-3ebe1f25aafa"&gt;VS2012 Runsettingstemplate&lt;/a&gt;   &lt;a href="http://visualstudiogallery.msdn.microsoft.com/704ebd18-7d60-4341-9224-532f73229c74"&gt;VS2013 Runsettingstemplate&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The VS2012/13 unit test feature can generate code coverage results.  It can do so for (nearly) any type of adapter you choose to use, MSTest, CPPTest (managed/native), &lt;a href="http://xunit.codeplex.com/"&gt;XUnit&lt;/a&gt; and &lt;a href="http://nunit.org"&gt;NUnit&lt;/a&gt; (but not Chutzpah (note 1)).&lt;/p&gt;&#10;&lt;p&gt;Assume you have a project with a set of unit tests included.  For this demonstration I have used multiple different test frameworks just to show that this applies to any of these frameworks.&lt;/p&gt;&#10;&lt;p&gt;You choose to analyze for code coverage:&lt;/p&gt;</description></item><item><title>How to fix an annoying ReSharper &amp;ndash; NuGet error</title><link>https://hermit.no/archive/2013-10-30-how-to-fix-an-annoying-resharper-ndash-nuget-error/</link><pubDate>Wed, 30 Oct 2013 22:13:17 +0100</pubDate><guid>https://hermit.no/archive/2013-10-30-how-to-fix-an-annoying-resharper-ndash-nuget-error/</guid><description>&lt;p&gt;Using &lt;a href="https://nuget.codeplex.com/"&gt;NuGet&lt;/a&gt; in Visual Studio together with &lt;a href="http://www.jetbrains.com/resharper/"&gt;ReSharper&lt;/a&gt; may sometimes lead you into an annoying error where ReSharper indicates your code has an error, but the solution builds just fine. &lt;br /&gt;This may happen if you have a set of NuGet packages, and you either just restore them, or delete them on disk and then restore again.  Your code ends up looking like this, note the red missing functions, which comes from the &lt;a href="https://code.google.com/p/moq/"&gt;Moq&lt;/a&gt; library - which is downloaded from NuGet:&lt;/p&gt;</description></item><item><title>Unit testing resources and articles for Visual Studio 2012 and 2013</title><link>https://hermit.no/archive/2013-09-20-unit-testing-resources-and-articles-for-visual-studio-2012-and-2013/</link><pubDate>Fri, 20 Sep 2013 17:55:59 +0100</pubDate><guid>https://hermit.no/archive/2013-09-20-unit-testing-resources-and-articles-for-visual-studio-2012-and-2013/</guid><description>&lt;p&gt;The last year I have written three blog posts for the &lt;a href="http://blogs.msdn.com/b/visualstudioalm/"&gt;Microsoft MSDN ALM blog&lt;/a&gt; on unit testing. The posts focused on the new test explorer with its abilities to run tests in multiple frameworks, and utilizing traits to filter what to run, both in Visual Studio and on TFS Build.  I covered the adapters for &lt;a href="http://nunit.org/"&gt;NUnit&lt;/a&gt;, &lt;a href="http://xunit.codeplex.com/"&gt;XUnit&lt;/a&gt; and &lt;a href="http://chutzpah.codeplex.com/"&gt;Chutzpah&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/09/how-to-manage-unit-tests-in-visual-studio-2012-update-1-part-1-using-traits-in-the-unit-test-explorer.aspx"&gt;How to manage unit tests in Visual Studio 2012 Update 1 : Part 1–Using Traits in the Unit Test Explorer&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Visual Studio and TFS 2012 List of Product Updates (Part 1)</title><link>https://hermit.no/archive/2013-08-18-visual-studio-and-tfs-2012-list-of-product-updates-part-1/</link><pubDate>Sun, 18 Aug 2013 19:05:29 +0100</pubDate><guid>https://hermit.no/archive/2013-08-18-visual-studio-and-tfs-2012-list-of-product-updates-part-1/</guid><description>&lt;p&gt;&lt;font color="#000000" size="2"&gt;Go to &lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;Part 2 – List of extensions and tools&lt;/a&gt; for Visual Studio and TFS 2012&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Looking for the VS 2010 extensions ? Go to &lt;/font&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2010/12/05/visual-studio-amp-tfs-ndash-list-of-addins-extensions-patches.aspx"&gt;Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2)&lt;/a&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;u&gt;.&lt;/u&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt;&lt;font color="#000000"&gt;Looking for links to the test adapters, go to &lt;/font&gt;&lt;a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/02/visual-studio-11-beta-unit-testing-plugins-list.aspx"&gt;this blog post&lt;/a&gt;. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font color="#ff0000" size="2"&gt;UPDATE  Nov 26th 2013:&lt;/font&gt;   &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=39305"&gt;Visual Studio 2012 Update 4&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;This information was formerly contained within my blog post on  &lt;/font&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;List of extensions (Part 2)&lt;/a&gt;&lt;font size="2"&gt;&lt;u&gt;,&lt;/u&gt; but it seems better to keep this separate now, since the cadence has increased tremendously for VS 2012, and the list grows very fast.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Visual Studio &amp;amp; TFS 2012 &amp;ndash; List of extensions and tools (Part 2)</title><link>https://hermit.no/archive/2013-04-02-visual-studio-amp-tfs-2012-ndash-list-of-extensions-and-tools-part-2/</link><pubDate>Tue, 02 Apr 2013 20:51:34 +0100</pubDate><guid>https://hermit.no/archive/2013-04-02-visual-studio-amp-tfs-2012-ndash-list-of-extensions-and-tools-part-2/</guid><description>&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Go to &lt;a href="http://geekswithblogs.net/terje/archive/2013/08/18/visual-studio-and-tfs-2012-product-installations-upgrades-and-patches.aspx"&gt;Part 1 – List of Product Updates&lt;/a&gt; for information on Visual Studio and TFS 2012 updates&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#000000"&gt;Looking for the VS 2010 extensions ? Go to &lt;/font&gt;&lt;a href="http://geekswithblogs.net/terje/archive/2010/12/05/visual-studio-amp-tfs-ndash-list-of-addins-extensions-patches.aspx"&gt;Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2)&lt;/a&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;u&gt;.&lt;/u&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt;&lt;font color="#000000"&gt;Looking for links to the test adapters, go to &lt;/font&gt;&lt;a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/02/visual-studio-11-beta-unit-testing-plugins-list.aspx"&gt;this blog post&lt;/a&gt;. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;UPDATE Aug 18th 2013: &lt;/font&gt;&lt;font color="#000000"&gt;Updates: &lt;a href="http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c"&gt;Visual Studio Tools for Git&lt;/a&gt;, &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=34790"&gt;TypeScript&lt;/a&gt;, &lt;a href="http://www.jetbrains.com/resharper/download/"&gt;ReSharper&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f"&gt;TFS Power Tools&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/1ec7db13-3363-46c9-851f-1ce455f66970"&gt;Code Contracts&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/cfdb84b4-285e-4eeb-9fa9-dad9bfe2cd10"&gt;Build Manager&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/07d54d12-7133-4e15-becb-6f451ea3bea6"&gt;Web Essentials&lt;/a&gt;,  &lt;a href="http://visualstudiogallery.msdn.microsoft.com/1ec7db13-3363-46c9-851f-1ce455f66970"&gt;Code Contracts&lt;/a&gt;, &lt;font size="2"&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/b0e2dde6-5408-42c2-bc92-ac36942bbee9"&gt;tangible T4 editor&lt;/a&gt;&lt;/font&gt; , &lt;font size="2"&gt;&lt;a href="http://www.telerik.com/products/decompiling.aspx"&gt;Just Decompile&lt;/a&gt;&lt;/font&gt;, &lt;font size="2"&gt;&lt;a href="http://www.jetbrains.com/decompiler/"&gt;DotPeek&lt;/a&gt;&lt;/font&gt;   ADDED:  &lt;a href="http://visualstudiogallery.msdn.microsoft.com/9ed2d30c-a692-42b0-a21d-cdc8d2bf322c"&gt;Inmeta AssociateRecentWorkItems&lt;/a&gt; , &lt;font color="#000000"&gt;&lt;/font&gt;&lt;font style="font-weight: normal"&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/45208924-e7b0-45df-8cff-165b505a38d7"&gt;Unit Test Generator&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="font-weight: normal"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Book &amp;ldquo;Team Foundation Server 2012 Starter&amp;rdquo; published</title><link>https://hermit.no/archive/2012-11-30-book-ldquo-team-foundation-server-2012-starter-rdquo-published/</link><pubDate>Fri, 30 Nov 2012 18:41:11 +0100</pubDate><guid>https://hermit.no/archive/2012-11-30-book-ldquo-team-foundation-server-2012-starter-rdquo-published/</guid><description>&lt;p&gt;&lt;br /&gt;During the summer and fall this year, me and my colleague &lt;a href="http://geekswithblogs.net/jakob/Default.aspx"&gt;Jakob Ehn&lt;/a&gt; has worked together on a book project that has now finally hit the stores! &lt;br /&gt;The title of the book is &lt;strong&gt;Team Foundation Server 2012 Starter&lt;/strong&gt; and is published by &lt;a href="http://www.packtpub.com/"&gt;Packt Publishing&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Get it from &lt;a href="http://www.packtpub.com/team-foundation-server-2012-starter/book"&gt;http://www.packtpub.com/team-foundation-server-2012-starter/book&lt;/a&gt; or from Amazon &lt;a href="http://www.amazon.com/dp/1849688389"&gt;http://www.amazon.com/dp/1849688389&lt;/a&gt;  &lt;br /&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/terje/Windows-Live-Writer/BookTeamFoundationServer2012StarterPubli_11A91/image_2.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-BookTeamFoundationServer2012StarterPubli_11A91-image_thumb.png" alt="image"&gt;&lt;/a&gt;  &lt;br /&gt;&lt;/p&gt;&#10;&lt;p&gt;The book is part of a concept that Packt have with starter-books, intended for people new to Team Foundation Server 2012 and who want a quick guideline to get it up and working.  &lt;br /&gt;It covers the fundamentals, from installing and configuring it, and how to use it with source control, work items and builds. It is done as a step-by-step guide, but also includes best practices advice in the different areas. It covers the use of both the on-premises and the TFS Services version. It also has a list of links and references in the end to the most &lt;br /&gt;relevant Visual Studio 2012 ALM sites.&lt;/p&gt;</description></item><item><title>Issues with mixed C++ and C# projects in Visual Studio 2012 running Code Analysis</title><link>https://hermit.no/archive/2012-08-19-issues-with-mixed-c-and-c-projects-in-visual-studio-2012-running-code-analysis/</link><pubDate>Sun, 19 Aug 2012 01:06:30 +0100</pubDate><guid>https://hermit.no/archive/2012-08-19-issues-with-mixed-c-and-c-projects-in-visual-studio-2012-running-code-analysis/</guid><description>&lt;p&gt;If you have projects created under Visual Studio 2010 (SP1), and mixed C++ and C# projects in the solution, and you are using other configurations than Debug/Release x86 you may hit a very strange situation when you run the Static Code Analysis, either alone, or as part of the build.&lt;/p&gt;&#10;&lt;p&gt;You may get into a situation which seems like things go in circles.  One error points to a place where it simply points back to the first one.  This is in fact, two kind of errors causing this behavior.&lt;/p&gt;</description></item><item><title>How to fix the CA0053 error in Code Analysis in Visual Studio 2012</title><link>https://hermit.no/archive/2012-08-18-how-to-fix-the-ca0053-error-in-code-analysis-in-visual-studio-2012/</link><pubDate>Sat, 18 Aug 2012 22:24:27 +0100</pubDate><guid>https://hermit.no/archive/2012-08-18-how-to-fix-the-ca0053-error-in-code-analysis-in-visual-studio-2012/</guid><description>&lt;h2 id="background"&gt;Background&lt;/h2&gt;&#10;&lt;p&gt;You are opening a solution made in Visual Studio 2010 with VS 2012.  When you run Code Analysis you get a series of CA0053 errors, saying it is unable to load the rule sets from the Visual Studio 2010 directory!&lt;/p&gt;&#10;&lt;p&gt;In the Error window you get an error message saying “Code Analysis detected errors.”&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/terje/Windows-Live-Writer/How-to-fix-the-CA0053-error-from-Code-An_1129A/image_2.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-How-to-fix-the-CA0053-error-from-Code-An_1129A-image_thumb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;And in the Code Analysis window you will get the “CA0053 Error running code analysis” with its “Unable to load rule assembly”.&lt;/p&gt;</description></item><item><title>Video on Architecture and Code Quality using Visual Studio 2012&amp;ndash;interview with Marcel de Vries and Terje Sandstrom by Adam Cogan</title><link>https://hermit.no/archive/2012-06-24-video-on-architecture-and-code-quality-using-visual-studio-2012-ndash-interview-with-marcel-de-vries-and-terje-sandstrom-by-adam-cogan/</link><pubDate>Sun, 24 Jun 2012 19:40:48 +0100</pubDate><guid>https://hermit.no/archive/2012-06-24-video-on-architecture-and-code-quality-using-visual-studio-2012-ndash-interview-with-marcel-de-vries-and-terje-sandstrom-by-adam-cogan/</guid><description>&lt;p&gt;Find the video &lt;a href="http://tv.ssw.com/1709/important-tips-for-improving-your-architecture-and-code-reviews-with-marcel-de-vries-and-terje-sandstrom"&gt;HERE&lt;/a&gt;****.&lt;/p&gt;&#10;&lt;p&gt;&lt;font color="#ff0000"&gt;Updated June 28th 2012:&lt;/font&gt;  Marcel has &lt;a href="http://blogs.infosupport.com/how-to-improve-your-code-reviews/"&gt;blogged&lt;/a&gt; about this too.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.adamcogan.com/"&gt;Adam Cogan&lt;/a&gt; did a great &lt;a href="http://tv.ssw.com/1709/important-tips-for-improving-your-architecture-and-code-reviews-with-marcel-de-vries-and-terje-sandstrom"&gt;Web TV interview&lt;/a&gt; with &lt;a href="http://blogs.infosupport.com/author/marcelv/"&gt;Marcel de Vries&lt;/a&gt; and myself on the topics of architecture and code quality.  It was real fun participating in this session.  Although we know each other from the MVP ALM community,  Marcel, Adam and I haven’t worked together before. It was very interesting to see how we agreed on so many terms, and how alike we where thinking.  The basics of ensuring you have a good architecture and how you could document it is one thing.  Also, the same agreement on the importance of having a high quality code base, and how we used the &lt;a href="http://www.microsoft.com/visualstudio/11/en-us/downloads"&gt;Visual Studio 2012&lt;/a&gt; tools, and some others (&lt;a href="http://www.ndepend.com/"&gt;NDepend&lt;/a&gt; for example)  to measure and ensure that the code quality was where it should be.  As the tools, methods and thinking popped up during the interview it was a lot of “Hey !  I do that too!”.&lt;/p&gt;</description></item><item><title>Fixing some Visual Studio 2012 RC install issues</title><link>https://hermit.no/archive/2012-06-05-fixing-some-visual-studio-2012-rc-install-issues/</link><pubDate>Tue, 05 Jun 2012 13:16:38 +0100</pubDate><guid>https://hermit.no/archive/2012-06-05-fixing-some-visual-studio-2012-rc-install-issues/</guid><description>&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;Updated: June 7th 2012:  Cause for the issues found! Unsupported scenario having TFS 11 Beta side-by-side.  Uninstall TFS 11 Beta before or even after install of VS 2012 RC. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;The Visual Studio RC has shown some install issues in some cases, particularly for those who upgrades from VS 11 Beta.  These issues are caused by also having TFS 11 Beta server installed on the same machine.  This is not a supported scenario.  What is good is that if you forget to uninstall TFS Beta 11 first, and get these issues, all that is required is to uninstall TFS 11 Beta, and VS 2012 RC will start working correctly!&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Visual Studio 2010: Version and update information tool</title><link>https://hermit.no/archive/2012-05-06-visual-studio-2010-version-and-update-information-tool/</link><pubDate>Sun, 06 May 2012 23:24:25 +0100</pubDate><guid>https://hermit.no/archive/2012-05-06-visual-studio-2010-version-and-update-information-tool/</guid><description>&lt;p&gt;&lt;a href="https://visualstudiogallery.msdn.microsoft.com/bce6cbf1-fb55-4a7d-b39b-8589634d846f"&gt;Download from VS Gallery&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;In my work I meet many developers, tester and project managers, all using Visual Studio. When I ask them if they have updated it to the latest version, there are many who simply don&amp;rsquo;t know. Should you always update? YES, you should. The Visual Studio development teams are continuously making improvements to the product. The question also often comes when we notice that something doesn&amp;rsquo;t quite work the way it should, and we then realize it is caused by not having the latest update. The next issue then comes – how do we find out IF the latest version is installed. That should be trivial, but it isn&amp;rsquo;t.&lt;/p&gt;</description></item><item><title>Visual Studio &amp;amp; TFS 2012 &amp;ndash; List of extensions and tools (Part 2)</title><link>https://hermit.no/archive/2012-03-22-visual-studio-amp-tfs-2012-ndash-list-of-extensions-and-tools-part-2-2/</link><pubDate>Thu, 22 Mar 2012 20:13:44 +0100</pubDate><guid>https://hermit.no/archive/2012-03-22-visual-studio-amp-tfs-2012-ndash-list-of-extensions-and-tools-part-2-2/</guid><description>&lt;p&gt;This post is continued &lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;HERE&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Go to &lt;a href="http://geekswithblogs.net/terje/archive/2013/08/18/visual-studio-and-tfs-2012-product-installations-upgrades-and-patches.aspx"&gt;Part 1 – List of Product Updates&lt;/a&gt; for information on Visual Studio and TFS 2012 updates&lt;/p&gt;&#10;&lt;p&gt;Looking for the VS 2010 extensions? Go to &lt;a href="http://geekswithblogs.net/terje/archive/2010/12/05/visual-studio-amp-tfs-ndash-list-of-addins-extensions-patches.aspx"&gt;Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2)&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Looking for links to the test adapters, go to &lt;a href="http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/02/visual-studio-11-beta-unit-testing-plugins-list.aspx"&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;UPDATE Aug 18th 2013:&lt;/strong&gt; Updates: &lt;a href="http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c"&gt;Visual Studio Tools for Git&lt;/a&gt;, &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=34790"&gt;TypeScript&lt;/a&gt;, &lt;a href="http://www.jetbrains.com/resharper/download/"&gt;ReSharper&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f"&gt;TFS Power Tools&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/1ec7db13-3363-46c9-851f-1ce455f66970"&gt;Code Contracts&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/cfdb84b4-285e-4eeb-9fa9-dad9bfe2cd10"&gt;Build Manager&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/07d54d12-7133-4e15-becb-6f451ea3bea6"&gt;Web Essentials&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/b0e2dde6-5408-42c2-bc92-ac36942bbee9"&gt;tangible T4 editor&lt;/a&gt;, &lt;a href="http://www.telerik.com/products/decompiling.aspx"&gt;Just Decompile&lt;/a&gt;, &lt;a href="http://www.jetbrains.com/decompiler/"&gt;DotPeek&lt;/a&gt; ADDED: &lt;a href="http://visualstudiogallery.msdn.microsoft.com/9ed2d30c-a692-42b0-a21d-cdc8d2bf322c"&gt;Inmeta AssociateRecentWorkItems&lt;/a&gt;, &lt;a href="http://visualstudiogallery.msdn.microsoft.com/45208924-e7b0-45df-8cff-165b505a38d7"&gt;Unit Test Generator&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Packaging custom checkin policies for Visual Studio using VSIX</title><link>https://hermit.no/archive/2012-03-10-packaging-custom-checkin-policies-for-visual-studio-using-vsix/</link><pubDate>Sat, 10 Mar 2012 21:54:28 +0100</pubDate><guid>https://hermit.no/archive/2012-03-10-packaging-custom-checkin-policies-for-visual-studio-using-vsix/</guid><description/></item><item><title>Using the Static Code Analysis feature of Visual Studio (Premium/Ultimate) to find memory leakage problems</title><link>https://hermit.no/archive/2011-11-27-using-the-static-code-analysis-feature-of-visual-studio-premium-ultimate-to-find-memory-leakage-problems/</link><pubDate>Sun, 27 Nov 2011 23:10:24 +0100</pubDate><guid>https://hermit.no/archive/2011-11-27-using-the-static-code-analysis-feature-of-visual-studio-premium-ultimate-to-find-memory-leakage-problems/</guid><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/terje/archive/2011/11/27/using-the-static-code-analysis-feature-of-visual-studio-premiumultimate.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;Memory for managed code is handled by the garbage collector, but if you use any kind of unmanaged code, like native resources of any kind, open files, streams and window handles, your application may leak memory if these are not properly handled.  To handle such resources the classes that own these in your application should implement the&lt;u&gt; [IDisposable](http://msdn.microsoft.com/en-us/library/system.idisposable.aspx)&lt;/u&gt; interface, and preferably implement it according to the pattern described for that interface.&#10;&lt;p&gt;When you suspect a memory leak, the immediate impulse would be to start up a memory profiler and start digging into that.   However, before you follow that impulse, do a Static Code Analysis run with a ruleset tuned to finding possible memory leaks in your code.  If you get any warnings from this, fix them before you go on with the profiling.&lt;/p&gt;</description></item><item><title>Build Explorer version 1.1 for Visual Studio Team Explorer is released</title><link>https://hermit.no/archive/2011-11-15-build-explorer-version-1-1-for-visual-studio-team-explorer-is-released/</link><pubDate>Tue, 15 Nov 2011 21:02:30 +0100</pubDate><guid>https://hermit.no/archive/2011-11-15-build-explorer-version-1-1-for-visual-studio-team-explorer-is-released/</guid><description>&lt;p&gt;Our free extension to Visual Studio , the folder based Build Explorer Version 1.1 has now been released, and uploaded to the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/35daa606-4917-43c4-98ab-38632d9dbd45"&gt;Visual Studio Gallery&lt;/a&gt; and &lt;a href="http://tfsbuildfolders.codeplex.com/"&gt;Codeplex&lt;/a&gt;. We have collected up a few changes and some bugs, as follows:&lt;/p&gt;&#10;&lt;p&gt;Changes:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Queue Default Builds can now be optionally fully enabled, fully disabled or enabled just for leaf nodes (=disabled for folders).  If you got a large number of builds it was pretty scary to be able to launch all of them with just one click.  However, it is nice to avoid having the dialog box up when you want to just run off a single build.  That’s the reasoning between the 3rd choice here.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Auto fill-in of the builds at start up and refresh  This was a request that came up a lot, and which was also irritating to us.  When the Team Project is opened, the Build explorer will start by itself and fill up it’s tree. So you don’t need to click the node anymore. There was also quite a bit of flashing when the tree filled up, this has been reduced to just a single top level fill before it collapses the node.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;The speed of the buildup of the tree has also been increased.&lt;/p&gt;&#10; &lt;/li&gt; &lt;li&gt;The “All Build Definitions” node is now shown on top of the list &lt;/li&gt; &lt;li&gt;Login box appeared in certain cross domain situations. This was a fix for the TF30063 authentication problem we had in the beginning.  Hopefully the new code has that fixed properly so that both the login box and the TF30063 are gone forever.  Our testing so far seems to indicate it works.  If anyone gets a real problem here there are two workarounds: 1) Turn off the auto refresh to reduce the issue. If this doesn’t fix it, then 2) please reinstall the former version (go to the [codeplex download site](http://tfsbuildfolders.codeplex.com/releases/view/66182) if you don’t have it anymore)  Write a comment to this blog post with a description of what happens, and I will send a temporary fix asap. &lt;/li&gt; &lt;/ul&gt;</description></item><item><title>Guide to reduce TFS database growth using the Test Attachment Cleaner</title><link>https://hermit.no/archive/2011-11-15-guide-to-reduce-tfs-database-growth-using-the-test-attachment-cleaner/</link><pubDate>Tue, 15 Nov 2011 15:35:03 +0100</pubDate><guid>https://hermit.no/archive/2011-11-15-guide-to-reduce-tfs-database-growth-using-the-test-attachment-cleaner/</guid><description>&lt;p&gt;UPDATED March 24th 2016:   Test Data Retention is now added to TFS 2015 Update 1,  see&lt;a href="http://hermit.no/test-data-retention-policy-added-in-tfs-update-1/"&gt;this post&lt;/a&gt; for more information.&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="color: #ff0000;"&gt;UPDATED Apr 15th 2013: &lt;/span&gt;&lt;span style="color: #000000;"&gt;Corrected to VS2012 Update 2&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="color: #ff0000;"&gt;UPDATED Mar 23rd 2012: &lt;/span&gt;&lt;span style="color: #000000;"&gt;Added information about VS 11 &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="color: #ff0000;"&gt;UPDATED Mar 21st 2012:  &lt;/span&gt;&lt;span style="color: #000000;"&gt;Added info and link to VS/TFS 11 tool for getting the Test Attachment Cleaner, now included with the TFS Power Tools&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="color: #ff0000;"&gt;UPDATED Mar 17th 2012: &lt;/span&gt;&lt;span style="color: #000000;"&gt;Added sql queries for TFS 11 Beta.  Changed structure after &lt;a href="http://www.adamcogan.com/"&gt;Adam’s&lt;/a&gt; advices. Updated information. &lt;/span&gt;&lt;/p&gt;</description></item><item><title>List of recommended books on TFS, Visual Studio, C# and C++ coding, Design and Development Process</title><link>https://hermit.no/archive/2011-10-24-list-of-recommended-books-on-tfs-visual-studio-c-and-c-coding-design-and-development-process/</link><pubDate>Mon, 24 Oct 2011 13:10:31 +0100</pubDate><guid>https://hermit.no/archive/2011-10-24-list-of-recommended-books-on-tfs-visual-studio-c-and-c-coding-design-and-development-process/</guid><description>&lt;p&gt;&lt;font color="#ff0000"&gt;UPDATED Jul 3rd 2013:  &lt;/font&gt;&lt;font color="#000000"&gt;Added Art of Unit Testing Version 2&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font color="#ff0000"&gt;UPDATED Apr 11th 2013:  &lt;/font&gt;&lt;font color="#000000"&gt;Added Instant TFS 2012 and Project Server 2012 Integration How-to&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font color="#ff0000"&gt;UPDATED Jan 12th 2013&lt;/font&gt;:  Added Prof TFS Server 2012, TFS 2012 Starter, Pro ALM with VS 2012 and VS 2012 Cookbook&lt;/p&gt;&#10;&lt;p&gt;&lt;font color="#ff0000"&gt;UPDATED Dec 8th 2011&lt;/font&gt;:   Added Kanban book by David Anderson&lt;/p&gt;&#10;&lt;p&gt;“Send me a list of books to read” – that is what I am often asked.  No more, as this list is an answer to those request!&lt;/p&gt;</description></item><item><title>Visual Studio Testing Tools&amp;ndash;Two new hotfixes released</title><link>https://hermit.no/archive/2011-08-07-visual-studio-testing-tools-ndash-two-new-hotfixes-released/</link><pubDate>Sun, 07 Aug 2011 09:04:30 +0100</pubDate><guid>https://hermit.no/archive/2011-08-07-visual-studio-testing-tools-ndash-two-new-hotfixes-released/</guid><description>&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;Update&lt;/font&gt;: These have been superseded and included in later Cumulative Updates. See &lt;a href="http://wblo.gs/cu8v"&gt;http://wblo.gs/cu8v&lt;/a&gt; for checking what you got and updates, or &lt;a href="http://visualstudiogallery.msdn.microsoft.com/bce6cbf1-fb55-4a7d-b39b-8589634d846f"&gt;download the tool&lt;/a&gt;. Also see info about the &lt;a href="http://wblo.gs/bCd"&gt;updates and extensions here&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;During the summer Microsoft has released two important hotfixes for the Testing tools. These two hotfixes solves 7 serious problems:&lt;/font&gt;&lt;/p&gt;&#10; &lt;table border="0" cellspacing="0" cellpadding="2" width="769"&gt;&lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;**&lt;font size="2"&gt;#&lt;/font&gt;**&lt;/td&gt; &lt;td valign="top" width="601"&gt;**&lt;font size="2"&gt;Issue solved&lt;/font&gt;**&lt;/td&gt; &lt;td valign="top" width="135"&gt;**&lt;font size="2"&gt;Fix in :&lt;/font&gt;**&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;&lt;font size="2"&gt;1.1&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="601"&gt;&lt;font size="2"&gt;Appdomain error when running a test agent on a computer with Visual Studio installed&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="135"&gt;&lt;font size="2"&gt;1)&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;&lt;font size="2"&gt;1.2&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="601"&gt;&lt;font size="2"&gt;Exception with search error may happen on playback of a coded UI test on some WPF controls&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="135"&gt;&lt;font size="2"&gt;1)&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;&lt;font size="2"&gt;1.3&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="601"&gt;&lt;font size="2"&gt;OutOfMemory exception may occur when creating a work item from the Test Result pane.  More frequent when TFS server has many builds.&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="135"&gt;&lt;font size="2"&gt;1)&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;&lt;font size="2"&gt;1.4&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="601"&gt;&lt;font size="2"&gt;Publishing of test results and builds stop responding for tests run in a build, due to a MSTest crash.&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="135"&gt;&lt;font size="2"&gt;1)&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;&lt;font size="2"&gt;2.1&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="601"&gt;&lt;font size="2"&gt;Test runner says “waiting for application under test” due to a crash when running a Manual test and you create a bug or run a test.&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="135"&gt;&lt;font size="2"&gt;2)&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;&lt;font size="2"&gt;2.2&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="601"&gt;&lt;font size="2"&gt;Unit tests fail to start after editing of testsettings when using batch files. &lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="135"&gt;&lt;font size="2"&gt;2)&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="31"&gt;&lt;font size="2"&gt;2.3&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="601"&gt;&lt;font size="2"&gt;StackOverflowException occurs in Test Manager&lt;/font&gt;&lt;/td&gt; &lt;td valign="top" width="135"&gt;&lt;font size="2"&gt;2)&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;font size="1"&gt;Note 1:  KB2544407&lt;/font&gt;&#10;&lt;p&gt;&lt;font size="1"&gt;Note 2:  KB2443428&lt;/font&gt;&lt;/p&gt;</description></item><item><title>New version of the Inmeta Build Folder Extension</title><link>https://hermit.no/archive/2011-05-12-new-version-of-the-inmeta-build-folder-extension/</link><pubDate>Thu, 12 May 2011 22:12:35 +0100</pubDate><guid>https://hermit.no/archive/2011-05-12-new-version-of-the-inmeta-build-folder-extension/</guid><description>&lt;p&gt;The 1.0.1 version of the Build Folder Extension is now out and can be downloaded from the Visual Studio Code Gallery  at &lt;a href="http://visualstudiogallery.msdn.microsoft.com/35daa606-4917-43c4-98ab-38632d9dbd45"&gt;http://visualstudiogallery.msdn.microsoft.com/35daa606-4917-43c4-98ab-38632d9dbd45&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Source code, discussions and issue tracking can be found at the codeplex site at &lt;a href="http://tfsbuildfolders.codeplex.com/"&gt;http://tfsbuildfolders.codeplex.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="context-menu"&gt;Context menu&lt;/h2&gt;&#10;&lt;p&gt;The context menu has been extended with the following commands, shown below:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/terje/Windows-Live-Writer/67bfaa670218_8C4/image_2.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-67bfaa670218_8C4-image_thumb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Queue New Build… :  This pops up the traditional queue build dialog&lt;/p&gt;&#10;&lt;p&gt;Queue Default Build(s):  This starts the default build directly, no dialog pops up.  Less clicks!   Another cute thing here is that if you select a folder, it will start all the builds in that folder directly.&lt;/p&gt;</description></item><item><title>Visual Studio&amp;ndash;Build Folders extension for Team Explorer</title><link>https://hermit.no/archive/2011-04-01-visual-studio-ndash-build-folders-extension-for-team-explorer/</link><pubDate>Fri, 01 Apr 2011 12:05:25 +0100</pubDate><guid>https://hermit.no/archive/2011-04-01-visual-studio-ndash-build-folders-extension-for-team-explorer/</guid><description>&lt;p&gt;We have just released a free extension for Visual Studio which adds a Builds Explorer with folders to the Team Explorer.&lt;/p&gt;&#10;&lt;p&gt;The extension can be downloaded from &lt;a href="http://visualstudiogallery.msdn.microsoft.com/35daa606-4917-43c4-98ab-38632d9dbd45"&gt;Visual Studio Gallery&lt;/a&gt; or just search for Inmeta in Tools/Extension Manager.&lt;/p&gt;&#10;&lt;p&gt;The documentation and issue tracking  can be found at the codeplex site for the project &lt;a href="http://tfsbuildfolders.codeplex.com/"&gt;http://tfsbuildfolders.codeplex.com/&lt;/a&gt; and source code is available there.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/terje/Windows-Live-Writer/41a2ef22be6e_C9E/image_2.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-41a2ef22be6e_C9E-image_thumb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The Build explorer is based on using a convention of separators in the build definition names.  See &lt;a href="http://blogs.msdn.com/b/bharry/archive/2011/04/01/build-folders.aspx"&gt;Brian Harry’s blog&lt;/a&gt; for  a nice explanation and description of this.&lt;/p&gt;</description></item><item><title>Microsoft Test Manager error in displaying test steps caused by malware</title><link>https://hermit.no/archive/2011-01-28-microsoft-test-manager-error-in-displaying-test-steps-caused-by-malware/</link><pubDate>Fri, 28 Jan 2011 05:47:47 +0100</pubDate><guid>https://hermit.no/archive/2011-01-28-microsoft-test-manager-error-in-displaying-test-steps-caused-by-malware/</guid><description>&lt;p&gt;Sometimes the tool is blamed for errors which are not the fault of the tool – this is one such story.  It was however, not so easy to get to the bottom of it, so I hope sharing this story can help some others.&lt;/p&gt;&#10;&lt;p&gt;One of our test developers started to get this message inside the test steps part of a test case in the MTM.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/terje/Windows-Live-Writer/MTM-error-in-displaying-test-steps-cause_EF5A/image_2.png"&gt;&lt;img src="../images/2015/08/GWB-Windows-Live-Writer-MTM-error-in-displaying-test-steps-cause_EF5A-image_thumb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;saying “Could not load file or assembly ‘0 bytes from System, Version=4.0.0.0,……..”&lt;/p&gt;</description></item><item><title>Visual Studio &amp;amp; TFS 2010 &amp;ndash; List of extensions and upgrades</title><link>https://hermit.no/archive/2010-12-05-visual-studio-amp-tfs-2010-ndash-list-of-extensions-and-upgrades/</link><pubDate>Sun, 05 Dec 2010 12:28:48 +0100</pubDate><guid>https://hermit.no/archive/2010-12-05-visual-studio-amp-tfs-2010-ndash-list-of-extensions-and-upgrades/</guid><description>&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;This post is about VS 2010, go here for the &lt;a href="http://geekswithblogs.net/terje/archive/2013/04/02/visual-studio-amp-tfs-2012-ndash-list-of-extensions-and.aspx"&gt;VS/TFS 11 extensions&lt;/a&gt;. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;UPDATED &lt;/font&gt;&lt;font color="#000000"&gt;Apr 9th&lt;/font&gt;&lt;font color="#000000"&gt; 2012: VersionInfo, NuGet, Code Contracts  &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;UPDATED &lt;/font&gt;&lt;font color="#000000"&gt;Oct 7th&lt;/font&gt;&lt;font color="#000000"&gt; 2012:  New Visual Studio GDR&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;UPDATED &lt;/font&gt;&lt;font color="#000000"&gt;Aug 31th&lt;/font&gt;&lt;font color="#000000"&gt; 2012: New versions updated of ReSharper, NDepend, Web Essentials, Community Build Manager,  Code Contracts (March 2012), NuGet, ILSpy, DotPeek, Just Decompile, tangible T4 editor, LinqPad. Added the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/bce6cbf1-fb55-4a7d-b39b-8589634d846f"&gt;VersionInfo&lt;/a&gt; tool, so you know you have the latest update of VS 2010&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Fixing the default checkin action, make Associate the default instead of Resolve</title><link>https://hermit.no/archive/2010-11-19-fixing-the-default-checkin-action-make-associate-the-default-instead-of-resolve/</link><pubDate>Fri, 19 Nov 2010 02:33:50 +0100</pubDate><guid>https://hermit.no/archive/2010-11-19-fixing-the-default-checkin-action-make-associate-the-default-instead-of-resolve/</guid><description>&lt;p&gt;When checking in code with workitems, one should connect them with workitems.  In some cases you need to check in multiple times before the item is resolved.  If you are too quick there, the checkin action causes the workitem to go to the Resolved state as this is the default state, if you don’t manually change it to Associate.  This default state can now – in VS 2010 – be turned around, so that Associate becomes the default action.&lt;/p&gt;</description></item><item><title>Making Static Code Analysis and Code Contracts work together, or the CA1062 problem</title><link>https://hermit.no/archive/2010-10-14-making-static-code-analysis-and-code-contracts-work-together-or-the-ca1062-problem/</link><pubDate>Thu, 14 Oct 2010 12:21:18 +0100</pubDate><guid>https://hermit.no/archive/2010-10-14-making-static-code-analysis-and-code-contracts-work-together-or-the-ca1062-problem/</guid><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/terje/archive/2010/10/14/making-static-code-analysis-and-code-contracts-work-together-or.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;font color="#ff0000"&gt;UPDATED&lt;/font&gt;: 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.&#10;&lt;p&gt;There have been several reports on problems with the Static Code Analysis (SCA) not adhering to the statements of the Code Contract tools. See these links: &lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=488341&amp;amp;wa=wsignin1.0"&gt;connect&lt;/a&gt;, &lt;a href="http://social.msdn.microsoft.com/Forums/en/codecontracts/thread/8016ba58-8ae1-483e-90ac-d14a4cb73a7c"&gt;forum1&lt;/a&gt;, &lt;a href="http://social.msdn.microsoft.com/Forums/en/codecontracts/thread/32f0f5c1-89fd-486f-9530-add3670552d0"&gt;forum2&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Tools for Metrics analysis &amp;ndash; Visual Studio and NDepend / CppDepend &amp;ndash; part 1</title><link>https://hermit.no/archive/2010-10-14-tools-for-metrics-analysis-ndash-visual-studio-and-ndepend-cppdepend-ndash-part-1/</link><pubDate>Thu, 14 Oct 2010 10:07:10 +0100</pubDate><guid>https://hermit.no/archive/2010-10-14-tools-for-metrics-analysis-ndash-visual-studio-and-ndepend-cppdepend-ndash-part-1/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;Recently I have been involved in some projects to improve the software quality of their code base.  These code bases have been rather large, and in some cases consisting of both managed code, C# and C++, and Native code in C++. The reasons for improving the code base comes from a realization of the relationship between non-optimal coding practices and runtime incidents.  Runtime incidents can be anything from exceptions, out of memory conditions to functionality simply not working at all – some times with no apparent reason or messages appearing.&lt;/p&gt;</description></item><item><title>Osiris becomes Inmeta</title><link>https://hermit.no/archive/2010-08-23-osiris-becomes-inmeta/</link><pubDate>Mon, 23 Aug 2010 07:17:32 +0100</pubDate><guid>https://hermit.no/archive/2010-08-23-osiris-becomes-inmeta/</guid><description>&lt;p&gt;This summer &lt;a href="http://inmeta.com/"&gt;Inmeta ASA&lt;/a&gt;, a leading Norwegian IT company, bought Osiris Data. It means we’re now more than 150 consultants, up from 30 as we were. It means a lot for us, as we now can take on larger projects, more projects and with even more colleagues we will have better competency on more areas. It is also very exciting to be in a larger company, be “exposed” to more projects and more opportunities.&lt;/p&gt;</description></item><item><title>Team Foundation Server &amp;#8211; Test Center and Visual Studio build list management</title><link>https://hermit.no/archive/2010-06-26-team-foundation-server-test-center-and-visual-studio-build-list-management/</link><pubDate>Sat, 26 Jun 2010 13:59:24 +0100</pubDate><guid>https://hermit.no/archive/2010-06-26-team-foundation-server-test-center-and-visual-studio-build-list-management/</guid><description>&lt;p&gt;One of the great things with the Team Foundation server 2010 is the integration between the different parts. In this blog post, I’ll go through the connection between a Test Plan and the Build System.&lt;/p&gt;&#10;&lt;p&gt;A Test Plan should be connected to the builds being done in order to reap the most benefits from the system. The test plan can be connected to the builds through the Properties page on the test plan you are working with, or you can connect it when you start a test run, by choosing &amp;ldquo;Run with options&amp;rdquo;. The builds should also be properly set up, as shown below.&lt;/p&gt;</description></item><item><title>MSDN Live 2010 &amp;ndash; Delivered : 24 sessions (4 x 6) on Visual Studio and Team Foundation Server 2010</title><link>https://hermit.no/archive/2010-05-01-msdn-live-2010-ndash-delivered-24-sessions-4-x-6-on-visual-studio-and-team-foundation-server-2010/</link><pubDate>Sat, 01 May 2010 09:53:13 +0100</pubDate><guid>https://hermit.no/archive/2010-05-01-msdn-live-2010-ndash-delivered-24-sessions-4-x-6-on-visual-studio-and-team-foundation-server-2010/</guid><description>&lt;p&gt;We (&lt;a href="http://twitter.com/Nitell"&gt;Mikael Nitell&lt;/a&gt; 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!&lt;/p&gt;</description></item><item><title>Code Contracts and Pex at MSDN Live 2010</title><link>https://hermit.no/archive/2010-04-14-code-contracts-and-pex-at-msdn-live-2010/</link><pubDate>Wed, 14 Apr 2010 04:58:48 +0100</pubDate><guid>https://hermit.no/archive/2010-04-14-code-contracts-and-pex-at-msdn-live-2010/</guid><description>&lt;p&gt;One of the 6 sessions I and Mikael Nitell is running on &lt;a href="http://www.microsoft.com/norge/msdn_technet_live/default.aspx"&gt;MSDN Live 2010&lt;/a&gt; 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.&lt;/p&gt;&#10;&lt;p&gt;Code Contracts has to be downloaded separately from VS 2010 (works also on VS 2008). Start looking at &lt;a href="http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx"&gt;Code Contracts on MSDN&lt;/a&gt;. This download is free. Code Contracts originates from the ideas of Bertrand Meyer – Design by Contract, take a look &lt;a href="http://en.wikipedia.org/wiki/Design_by_contract"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>How to enable Forms authentication in Team Foundation Server 2010 Web Access</title><link>https://hermit.no/archive/2010-03-03-how-to-enable-forms-authentication-in-team-foundation-server-2010-web-access/</link><pubDate>Wed, 03 Mar 2010 12:40:47 +0100</pubDate><guid>https://hermit.no/archive/2010-03-03-how-to-enable-forms-authentication-in-team-foundation-server-2010-web-access/</guid><description>&lt;p&gt;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.&lt;/p&gt;&#10;&lt;p&gt;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 work as intended.  This is probably leftovers from the 2008 version.&lt;/p&gt;</description></item><item><title>Osiris Data has upgraded TFS 2010 from beta to RC in production</title><link>https://hermit.no/archive/2010-02-10-osiris-data-has-upgraded-tfs-2010-from-beta-to-rc-in-production/</link><pubDate>Wed, 10 Feb 2010 17:06:59 +0100</pubDate><guid>https://hermit.no/archive/2010-02-10-osiris-data-has-upgraded-tfs-2010-from-beta-to-rc-in-production/</guid><description>&lt;p&gt;We have just upgraded our TFS production system to the RC from Beta 2.  Upgrading and Migration were done in 1.5 hour.  More than &lt;strong&gt;75 team projects&lt;/strong&gt; upgraded.  Our &lt;strong&gt;30 internal developers&lt;/strong&gt; and some more external will wake up to a new world tomorrow morning :-).&lt;/p&gt;&#10;&lt;p&gt;Martin Hinshelwood managed to beat us with some hours &lt;a href="http://blog.hinshelwood.com/archive/2010/02/10/upgrading-from-tfs-2010-beta-2-to-tfs-2010-rc.aspx"&gt;http://blog.hinshelwood.com/archive/2010/02/10/upgrading-from-tfs-2010-beta-2-to-tfs-2010-rc.aspx&lt;/a&gt; but we must still be one of the very first companies to move over!&lt;/p&gt;&#10;&lt;p&gt;We have a two-tier solution, on raw iron, no hyper-v here, so we :&lt;/p&gt;</description></item><item><title>How to fix annoying connection error to TFS server 2010 RC</title><link>https://hermit.no/archive/2010-02-10-how-to-fix-annoying-connection-error-to-tfs-server-2010-rc/</link><pubDate>Wed, 10 Feb 2010 12:50:22 +0100</pubDate><guid>https://hermit.no/archive/2010-02-10-how-to-fix-annoying-connection-error-to-tfs-server-2010-rc/</guid><description>&lt;p&gt;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: &lt;a href="http://geekswithblogs.net/jakob/archive/2010/02/09/reember-to-uninstall-all-beta-2-stuff-before-upgrading-to.aspx"&gt;http://geekswithblogs.net/jakob/archive/2010/02/09/reember-to-uninstall-all-beta-2-stuff-before-upgrading-to.aspx&lt;/a&gt;) but you still get the following error box:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/terje/WindowsLiveWriter/HowtofixannoyingconnectionerrortoTFSserv_106B9/tfs1_2.png"&gt;&lt;img src="../images/2015/08/GWB-WindowsLiveWriter-HowtofixannoyingconnectionerrortoTFSserv_106B9-tfs1_thumb.png" alt="tfs1"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;saying &lt;strong&gt;Could not load type &amp;lsquo;Microsoft.TeamFoundation.Client.TeamFoundationServerBase&amp;rsquo; from assembly &amp;lsquo;Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;rsquo;.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;At the same time, you see Power Tools functions are still there in Visual Studio, but no Power Tool appears in the Add/Remove programs. This is some freak happening when uninstalling the beta Power Tools.&lt;/p&gt;</description></item><item><title>Free seminar on Visual Studio and TFS 2010 in Bergen with NNUG</title><link>https://hermit.no/archive/2010-01-21-free-seminar-on-visual-studio-and-tfs-2010-in-bergen-with-nnug/</link><pubDate>Thu, 21 Jan 2010 17:13:38 +0100</pubDate><guid>https://hermit.no/archive/2010-01-21-free-seminar-on-visual-studio-and-tfs-2010-in-bergen-with-nnug/</guid><description>&lt;p&gt;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. &lt;a href="http://nnug.no/Avdelinger/Bergen/Moter/NNUG-Bergen---Januar-20092/"&gt;http://nnug.no/Avdelinger/Bergen/Moter/NNUG-Bergen&amp;mdash;Januar-20092/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;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 power-point free and very developer friendly !&lt;/p&gt;</description></item><item><title>2010 Branching guidance released by the TFS Rangers team</title><link>https://hermit.no/archive/2010-01-18-2010-branching-guidance-released-by-the-tfs-rangers-team/</link><pubDate>Mon, 18 Jan 2010 03:43:12 +0100</pubDate><guid>https://hermit.no/archive/2010-01-18-2010-branching-guidance-released-by-the-tfs-rangers-team/</guid><description>&lt;p&gt;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.&lt;/p&gt;&#10;&lt;p&gt;See &lt;a href="http://tfsbranchingguideiii.codeplex.com/"&gt;http://tfsbranchingguideiii.codeplex.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;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.&lt;/p&gt;</description></item><item><title>Team System Rangers releases TFS Quick Referene Guidance</title><link>https://hermit.no/archive/2010-01-13-team-system-rangers-releases-tfs-quick-referene-guidance/</link><pubDate>Wed, 13 Jan 2010 04:41:09 +0100</pubDate><guid>https://hermit.no/archive/2010-01-13-team-system-rangers-releases-tfs-quick-referene-guidance/</guid><description>&lt;p&gt;The Team System Rangers (&lt;a href="http://msdn.microsoft.com/en-us/teamsystem/ee358786.aspx"&gt;http://msdn.microsoft.com/en-us/teamsystem/ee358786.aspx&lt;/a&gt;) just released a set of real cool Quick Reference Guidance sheets for the Visual Studio 2010 Team System at Codeplex &lt;a href="http://vs2010quickref.codeplex.com/"&gt;http://vs2010quickref.codeplex.com/&lt;/a&gt;.  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 are quite a bunch of them, within these areas:&lt;/p&gt;</description></item><item><title>On branches and builds in Team Foundation Server</title><link>https://hermit.no/archive/2009-10-25-on-branches-and-builds-in-team-foundation-server/</link><pubDate>Sun, 25 Oct 2009 16:49:19 +0100</pubDate><guid>https://hermit.no/archive/2009-10-25-on-branches-and-builds-in-team-foundation-server/</guid><description>&lt;p&gt;On codeplex the VSTS Rangers have published the &lt;a href="http://tfsbranchingguideii.codeplex.com/"&gt;Branching Guidance II&lt;/a&gt; (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.&lt;/p&gt;&#10;&lt;p&gt;In Team Foundation Server 2008 we shipped a &amp;ldquo;branches&amp;rdquo; feature (some people call them &amp;ldquo;branches and merges&amp;rdquo;). The idea is that a developer who wants to develop a new feature can branch the main development line and work in the branch without affecting the main development line.&lt;/p&gt;</description></item><item><title>Branched history working in Visual Studio 2010 using TFS Server 2008</title><link>https://hermit.no/archive/2009-10-24-branched-history-working-in-visual-studio-2010-using-tfs-server-2008/</link><pubDate>Sat, 24 Oct 2009 16:59:05 +0100</pubDate><guid>https://hermit.no/archive/2009-10-24-branched-history-working-in-visual-studio-2010-using-tfs-server-2008/</guid><description>&lt;p&gt;Visual Studio 2010 (beta 2) can be connected to an existing TFS 2008 Server.  Much of the new great stuff is then not available, quite naturally.  But I was quite positively surprised that some stuff I had not expected to work in fact did.  Which of course means it’s client stuff more than server stuff. Anyway, here comes:&lt;/p&gt;&#10;&lt;p&gt;History across branches:  You can now see the history of a versioned item even it started it’s life in another branch, and even if you are connected to a TFS 2008 server.&lt;/p&gt;</description></item><item><title>Seminar on news in Team System 2010, September 15th in Oslo, Norway</title><link>https://hermit.no/archive/2009-08-24-seminar-on-news-in-team-system-2010-september-15th-in-oslo-norway/</link><pubDate>Mon, 24 Aug 2009 17:55:30 +0100</pubDate><guid>https://hermit.no/archive/2009-08-24-seminar-on-news-in-team-system-2010-september-15th-in-oslo-norway/</guid><description>&lt;p&gt;In June we ran a free 2,5 hour seminar at Microsoft on the Team System 2010.  It went rather well, so it&amp;rsquo;s being set up again, on September 15th.  It&amp;rsquo;s being done as a practical demo case, we&amp;rsquo;ve &amp;ldquo;invented&amp;rdquo; a problem, and uses the 2010 to solve the problem. In the process of doing that, we&amp;rsquo;re going through the Architect parts, the work items, the build system, coding, branching, code reviews with the static code analysis, testing with the new Test Edition (&amp;ldquo;Camano&amp;rdquo;) and more.   We&amp;rsquo;ve done it nearly power point free :-).&lt;/p&gt;</description></item><item><title>Team System 2010: Static Code Analysis, easier to set rules</title><link>https://hermit.no/archive/2009-07-12-team-system-2010-static-code-analysis-easier-to-set-rules/</link><pubDate>Sun, 12 Jul 2009 12:41:01 +0100</pubDate><guid>https://hermit.no/archive/2009-07-12-team-system-2010-static-code-analysis-easier-to-set-rules/</guid><description>&lt;p&gt;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 &amp;ldquo;noise&amp;rdquo;, 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 in your solution. In Visual Studio 2008 there is no easy way to do this. At Osiris we made an Addin to Visual Studio to ease this. We defined the set in a separate file, and used the Addin to apply that to all projects in a solution.&lt;/p&gt;</description></item><item><title>Team System 2010 seminar – New features – and a storytelling approach</title><link>https://hermit.no/archive/2009-07-08-team-system-2010-seminar-new-features-and-a-storytelling-approach/</link><pubDate>Wed, 08 Jul 2009 15:06:43 +0100</pubDate><guid>https://hermit.no/archive/2009-07-08-team-system-2010-seminar-new-features-and-a-storytelling-approach/</guid><description>&lt;p&gt;We have run 10 seminars with myself, &lt;a href="http://twitter.com/Nitell"&gt;Mikael Nitell&lt;/a&gt; and &lt;a href="http://geekswithblogs.net/jakob/Default.aspx"&gt;Jakob Ehn&lt;/a&gt; on TFS 2008 during the last two years. These seminars were made from the point of our company&amp;rsquo;s experience with the TFS system. We debated different aspects of it, and showed people how we had chosen to solve the different issues that arose. These seminars took in the range of 4 hours, and we&amp;rsquo;ve had around 700 people all in all participating in these seminars, with very favorable feedback.&lt;/p&gt;</description></item><item><title>Mapping use cases to code</title><link>https://hermit.no/archive/2009-07-08-mapping-use-cases-to-code/</link><pubDate>Wed, 08 Jul 2009 14:30:24 +0100</pubDate><guid>https://hermit.no/archive/2009-07-08-mapping-use-cases-to-code/</guid><description>&lt;p&gt;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.&lt;/p&gt;&#10;&lt;p&gt;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.&lt;/p&gt;</description></item><item><title>Use Cases, User Stories and Scenarios &amp;#8211; what are they &amp;#8211; and how do they relate to TFS 2010</title><link>https://hermit.no/archive/2009-07-08-use-cases-user-stories-and-scenarios-what-are-they-and-how-do-they-relate-to-tfs-2010/</link><pubDate>Wed, 08 Jul 2009 07:07:09 +0100</pubDate><guid>https://hermit.no/archive/2009-07-08-use-cases-user-stories-and-scenarios-what-are-they-and-how-do-they-relate-to-tfs-2010/</guid><description>&lt;p&gt;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.&lt;/p&gt;&#10;&lt;p&gt;Larry Guger also discuss these aspects and several others in his blog entries &lt;a href="http://continuouslyintegrating.blogspot.com/2009/07/use-cases-and-visual-studio-2010-part-1.html"&gt;http://continuouslyintegrating.blogspot.com/2009/07/use-cases-and-visual-studio-2010-part-1.html&lt;/a&gt; and &lt;a href="http://continuouslyintegrating.blogspot.com/2009/07/beginning-use-cases-identifying-actors.html"&gt;http://continuouslyintegrating.blogspot.com/2009/07/beginning-use-cases-identifying-actors.html&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;The Use Case is the term used in UML and in the different Unified Process based methodologies.  See &lt;a href="http://en.wikipedia.org/wiki/Use_case"&gt;http://en.wikipedia.org/wiki/Use_case&lt;/a&gt; for a good overall description.  A use case is often looked upon as a more formal way of describing behavior, and which has to be accompanied by a detailed description following certain rules.  However, a Use case can in fact be as light weight or as formal as one wants it to be.  I find that this depends more on the process methodology one uses more than characteristics of the use case itself.&lt;/p&gt;</description></item><item><title>Sometimes things happen, and everything stops</title><link>https://hermit.no/archive/2009-07-08-sometimes-things-happen-and-everything-stops/</link><pubDate>Wed, 08 Jul 2009 07:06:32 +0100</pubDate><guid>https://hermit.no/archive/2009-07-08-sometimes-things-happen-and-everything-stops/</guid><description>&lt;p&gt;When I started blogging I made a decision to concentrate on technical stuff.  I would not write about personal things, not about what happened in my everyday life, not about my social life, not about personal trivia, but just keep it technical - write about software and software technology.  And keeping my personal life and my technical life separated seemed like a good idea, and shouldn&amp;rsquo;t pose any problem what so ever.&lt;/p&gt;</description></item><item><title>Me, a Team System MVP &amp;ndash; Wow !</title><link>https://hermit.no/archive/2009-04-03-me-a-team-system-mvp-ndash-wow/</link><pubDate>Fri, 03 Apr 2009 19:29:37 +0100</pubDate><guid>https://hermit.no/archive/2009-04-03-me-a-team-system-mvp-ndash-wow/</guid><description>&lt;p&gt;I was informed April 1st that I had received the &lt;a href="http://mvp.support.microsoft.com/"&gt;MVP&lt;/a&gt; Award for Team System. It first appeared on the blogsite of &lt;a href="http://blogs.msdn.com/grothaug/default.aspx"&gt;Rune Grothaug&lt;/a&gt;, and later the same day a mail dropped into my Inbox from Microsoft.&lt;/p&gt;&#10;&lt;p&gt;I knew about the nomination, but when it materialized I still got very happy and excited about it. It&amp;rsquo;s great to join such a group of talented people, but it also makes me feel the pressure to do even more for and within the community.&lt;/p&gt;</description></item><item><title>Code coverage checkin policy</title><link>https://hermit.no/archive/2009-03-04-code-coverage-checkin-policy/</link><pubDate>Wed, 04 Mar 2009 21:36:04 +0100</pubDate><guid>https://hermit.no/archive/2009-03-04-code-coverage-checkin-policy/</guid><description>&lt;p&gt;Jakob got out a cool checkin policy after a question on the microsoft forums about this. The policy ensures that you have run a code coverage, and that the coverage percentage is above a certain set limit. See Jakob&amp;rsquo;s blog for a description: &lt;a href="http://geekswithblogs.net/jakob/archive/2009/02/23/writing-a-code-coverage-checkin-policy.aspx"&gt;Writing a code coverage checkin policy&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The code is available on CodePlex: &lt;a href="http://www.codeplex.com/TFSCCCheckinPolicy"&gt;TFSCCCheckinPolicy&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Defining the build set</title><link>https://hermit.no/archive/2009-02-04-defining-the-build-set/</link><pubDate>Wed, 04 Feb 2009 00:54:12 +0100</pubDate><guid>https://hermit.no/archive/2009-02-04-defining-the-build-set/</guid><description>&lt;p&gt;A &lt;strong&gt;build set&lt;/strong&gt; 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&amp;rsquo;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.&lt;/p&gt;&#10;&lt;p&gt;The aspects can be divided into three major parts:&lt;/p&gt;</description></item><item><title>TFS Workitems : On the fields, their namespaces and in which workitem types they are used</title><link>https://hermit.no/archive/2008-12-14-tfs-workitems-on-the-fields-their-namespaces-and-in-which-workitem-types-they-are-used/</link><pubDate>Sun, 14 Dec 2008 16:06:34 +0100</pubDate><guid>https://hermit.no/archive/2008-12-14-tfs-workitems-on-the-fields-their-namespaces-and-in-which-workitem-types-they-are-used/</guid><description>&lt;p&gt;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 &lt;a href="http://scrumforteamsystem.com/en/default.aspx"&gt;Conchango&lt;/a&gt;.  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 reports, in mappings to Microsoft Project etc., it is wise to adhere to these definitions. It will at least reduce the work you have to do if you&amp;rsquo;re modifying them, or defining your own types.  It is also wise to keep the fields named as equally as possible between types, and even processes, because it also simplifies querying across types. See &lt;a href="http://teamfoundation.blogspot.com/2008/05/work-item-customization-tidbits-part-1.html"&gt;http://teamfoundation.blogspot.com/2008/05/work-item-customization-tidbits-part-1.html&lt;/a&gt; for a great tutorial on how-to-do-it.&lt;/p&gt;</description></item><item><title>Code Metrics – suggestions for appropriate limits</title><link>https://hermit.no/archive/2008-11-25-code-metrics-suggestions-for-appropriate-limits/</link><pubDate>Tue, 25 Nov 2008 21:20:49 +0100</pubDate><guid>https://hermit.no/archive/2008-11-25-code-metrics-suggestions-for-appropriate-limits/</guid><description>&lt;p&gt;I like Code Metrics. They give a certain &amp;ldquo;objective&amp;rdquo; evaluation of a piece of code. You can use it for yourself just to make it pinpoint potential trouble areas, or just some code where you were a bit sloppy - happens from time to time. And when you&amp;rsquo;re going to do a peer review, it&amp;rsquo;s much better to point to some numbers instead of the &amp;ldquo;This code sucks&amp;hellip;..&amp;quot;-thing. So when it finally arrived inside Visual Studio I was delighted.&lt;/p&gt;</description></item><item><title>Hiding generated code from Code Analysis, Metrics and Test Coverage</title><link>https://hermit.no/archive/2008-11-10-hiding-generated-code-from-code-analysis-metrics-and-test-coverage/</link><pubDate>Mon, 10 Nov 2008 03:09:41 +0100</pubDate><guid>https://hermit.no/archive/2008-11-10-hiding-generated-code-from-code-analysis-metrics-and-test-coverage/</guid><description/></item><item><title>Article on Subsystem branching</title><link>https://hermit.no/archive/2008-11-02-article-on-subsystem-branching/</link><pubDate>Sun, 02 Nov 2008 06:38:26 +0100</pubDate><guid>https://hermit.no/archive/2008-11-02-article-on-subsystem-branching/</guid><description>&lt;p&gt;I did an article on Subsystem branching (&lt;a href="http://geekswithblogs.net/terje/archive/2008/11/02/handling-subsystem-branching.aspx"&gt;http://geekswithblogs.net/terje/archive/2008/11/02/handling-subsystem-branching.aspx&lt;/a&gt;) as a result of a post on the Microsoft forums regarding this.&lt;/p&gt;&#10;&lt;p&gt;Further, at the PDC 2008 conference now, &lt;a href="http://blogs.msdn.com/granth/"&gt;Grant Holliday&lt;/a&gt; made me aware of the &lt;a href="http://www.codeplex.com/tfsdepreplicator"&gt;TFS Dependency Replicator&lt;/a&gt;, which also is a way to solve the problem. It corresponds to the solution I named Solution 3B, however, it&amp;rsquo;s not using the branch/merge facilities, so the TFS itself is not &amp;ldquo;aware&amp;rdquo; of the file copied. Anyway, a great tool!&lt;/p&gt;</description></item><item><title>Finally entering the blogsphere !</title><link>https://hermit.no/archive/2008-10-01-finally-entering-the-blogsphere/</link><pubDate>Wed, 01 Oct 2008 15:40:30 +0100</pubDate><guid>https://hermit.no/archive/2008-10-01-finally-entering-the-blogsphere/</guid><description>&lt;p&gt;I&amp;rsquo;m just soooo slow. I must be the last geek to get a blog up and running. Anyway, being last is better than never.&lt;/p&gt;&#10;&lt;h2 id="where-to-find-me"&gt;Where to find me:&lt;/h2&gt;&#10;&lt;p&gt;I&amp;rsquo;m often found at the Microsoft forums, &lt;a href="http://forums.microsoft.com/MSDN/default.aspx?siteid=1"&gt;Forums.Microsoft.com/MSDN&lt;/a&gt; mostly under Visual Studio Team System, but occasionally also under any of the more programming forums, like Winform, WPF, ASP.Net., C# or SQL. My nickname there is &lt;a href="http://social.msdn.microsoft.com/en-US/Profile/?user=OsirisTerje"&gt;OsirisTerje&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;I got an audio technology site also, see &lt;a href="http://home.online.no/~tsandstr/AudioStartsHere.htm"&gt;http://home.online.no/~tsandstr/AudioStartsHere.htm&lt;/a&gt;, which contains information from my former life.&lt;/p&gt;</description></item></channel></rss>