StyleCop for .Net 5 Projects: Custom Configuration

With your StyleCop installation in place we can now look at how we can customise our StyleCop configuration. This is part two of my small series of StyleCop for .Net 5 Projects: Part 1: StyleCop for .Net 5 Projects: Installation Part 2: StyleCop for .Net 5 Projects: Custom Configuration Part 3: StyleCop for .Net 5 …

Read more

How to Fix Warnings About FxCop Being Deprecated When There Is No FxCop Installed

Cleaning up warnings in your project sometimes brings you to strange places. One of the more notable one was the depreciation warning for FxCop. We use StyleCopAnalyzers in our projects and there was no reference whatsoever to FxCop. Yet the build agent had a different opinion and showed this warning: Warning – CA0507 – Post-build …

Read more

Attend “Make Your Code More Testable” if You Get a Chance

Last week I attended the “Make Your Code More Testable” workshop by Ted M. Young (@jitterted). I was not sure if I wanted to attend yet another workshop this year as I saw the first tweet about this workshop. After I saw the recommendations by Gitte Klitgaard, Esther Derby, Kent Beck and GeePaw Hill I …

Read more

Pluggable Code: How a Well-Designed Application Supports Mass Mutation

We can use many attributes to describe a good application: changeable, future-proof, well designed, or flexible are just a few of them. What does this mean? Is this just a challenge for the most uncommon word pair? Or is there something behind those words that we can measure? My work gave me a good example …

Read more

Fewer Errors with Continuous Integration and Code Analysis

As experience shows the quality of code degrades slowly and before you know it will be an unmaintainable mess. To prevent this many practices where developed and have proven their usefulness over and over again: test automation, continuous integration and code analysis are just a few of them. Unfortunately those practices still require work and …

Read more