How to use StyleCop.Analyzers

Update: This post is now available at a new location:
https://blog.ngeor.com/2018/03/03/how-to-use-stylecop-analyzers.html

I played a bit with StyleCop.Analyzers the other day and I wanted to share what I did. I’ll be showing how to add a stylecop file, how to use the same rules across projects, how to create a custom ruleset file.

Continue reading How to use StyleCop.Analyzers

Advertisements

Code coverage in .NET Core and SonarCloud

Update: This post is now available at a new location:
https://blog.ngeor.com/2018/02/17/code-coverage-in-net-core-and-sonarcloud.html

In this post, I’m creating a code coverage report for a .NET Core project. I’m also using SonarCloud to analyze the project’s quality.

Continue reading Code coverage in .NET Core and SonarCloud

TDD with .NET Core and Visual Studio Code

Update: This post is now available at a new location:
https://blog.ngeor.com/2017/06/05/tdd-with-net-core-and-visual-studio-code.html

In this post we’ll see how to create a .NET Core solution with two projects with using nothing but the command line. Once that is setup, we’ll do a bit of TDD using Visual Studio Code.

Continue reading TDD with .NET Core and Visual Studio Code