Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.
/ platform-compat Public archive

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

License

Notifications You must be signed in to change notification settings

dotnet/platform-compat

Repository files navigation

Platform Compatibility Analyzer

This project has been replaced by analzyers that are built into the .NET SDK:

As such, it's archived.


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.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published