HurricanKai / platform-compat

Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Platform Compatibility Analyzer

Branch Debug Release
master Build Status Build Status

This tool provides Roslyn analyzers that find usages of .NET Core & .NET Standard APIs that are problematic on specific platforms or are deprecated.

You can find out more in our blog post!

Usage

In order to use it, install the NuGet package Microsoft.DotNet.Analyzers.Compatibility.

Experience

Usage of .NET Core and .NET Standard APIs that throw PlatformNotSupportedException

See PC001 for more details.

Usage of .NET Standard 2.0 APIs missing from .NET Framework 4.6.1

See PC002 for more details.

Usage of deprecated APIs

See DEXXX files in the docs folder for more details.

About

Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.

License:MIT License


Languages

Language:C# 92.0%Language:PowerShell 6.6%Language:Groovy 1.1%Language:Batchfile 0.2%