Show / Hide Table of Contents

C# Coding Styles

Introduction

OneCompute uses the following Visual Studio extensions to enforce code style and standards.

  • ReSharper
  • StyleCop Analyzers

ReSharper

OneCompute uses ReSharper to provide on-the-fly code analysis, to maintain code quality. ReSharper is a Visual Studio extension for .Net Developers (https://www.jetbrains.com/resharper/) which helps to eliminate errors and code smells.

ReSharper

StyleCop Analyzers

StyleCop Analyzers are used to ensure OneCompute's source code complies with coding standards. This helps to create a consistent style, which makes the code more maintainable.

The StyleCop Analyzers are installed as NuGet packages.

These tools should be used with the default settings and suppression of warnings should be avoided.

  • Improve this Doc
In This Article
Back to top Copyright © DNV AS. All rights reserved.