Skip to main content

CSharp SDKs Are Now StyleCop Compliant

ยท One min read

APIMATIC's CSharp SDKs are now compliant with the StyleCop Coding Style Guide

  • StyleCop compliance means that the CSharp code generated is guaranteed to be of high-quality.
  • CSharp SDKs are written in a industry-standard code style to allow for maximum interoperability.

Re-generate your CSharp SDKs now for the new changes.

Detailsโ€‹

This change does not introduce any breaking changes in the CSharp SDKs.

Testing for Code Style using StyleCopโ€‹

First you need to get the Stylecop Visual Studio Extension. You can download it from here.

Alternatively you can install StyleCop.MSBuild as a nuget package from the nuget package manager.

You can now test the SDK code for StyleCop standard compliance using:

Try this if Stylecop is downloaded as a Visual Studio Extension

  • Right click on the Visual Studio Solution and click on the Run StyleCop option.

Or this if it is installed as a nuget package

  • Build the project and View the output in the Output Console.