Archive

Archive for the ‘Sourceanalysis’ Category

.NET Open Source Projects and Coding Guidelines

July 27th, 2011
Urs Enzler

In my projects, we use a lot of open source libraries like Ninject, xUnit, Machine.Specifications, FluentAssertions, StyleCop, Moq, statLight, AgUnit and of course the project I lead myself: bbv.Common.

These projects are really cool. But sometimes of course, we need something that they do not (yet) provide. Like adding Machine.Specification support in FluentAssertions or a faster runner for xUnit unit tests under silverlight with AgUnit and statLight.

Therfore, we download the source code and try to contribute the features we need. And we try to follow the coding style of the existing code so that the project owners are willing to merge our changes into their code base. But this is almost impossible!

read more

 

.NET, Clean Code, Sourceanalysis , ,

Custom StyleCop Rules – Part II

September 21st, 2009
Thomas

In my first post (link) I’ve explained what StyleCop is and how you can start with your own StyleCop rules. We will now dig a little bit deeper into the jungle of StyleCop….
read more

 

.NET, Software, Sourceanalysis , , ,

Custom StyleCop Rules

July 19th, 2009
Thomas

Microsoft’s StyleCop is a code style and consistency analysis tool for C#. The tool integrates into the Visual Studio IDE, or can be run on the command line. StyleCop ships with a default set of rules enforcing common style guidelines.

This article describes how to write custom StyleCop rules.

read more

 

.NET, Software, Sourceanalysis