Skip to content

isabella232/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.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 46.9%
  • PowerShell 33.2%
  • Shell 17.3%
  • CMake 2.4%
  • Batchfile 0.2%