Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
Перейти к файлу
dotnet-maestro[bot] 307fc854a4 Update dependencies from https://github.com/dotnet/arcade build 20201123.2
Microsoft.DotNet.Arcade.Sdk
 From Version 1.0.0-beta.19372.10 -> To Version 6.0.0-beta.20573.2
2020-11-24 13:10:29 +00:00
docs Add a doc for the new PC004 (BeginInvoke/EndInvoke) analyzer 2018-12-19 12:03:37 -05:00
eng Update dependencies from https://github.com/dotnet/arcade build 20201123.2 2020-11-24 13:10:29 +00:00
etc Suppress some PC0001 related to Pipes (#121) 2018-06-01 17:00:34 -07:00
src make copyright explicit 2019-04-14 22:22:49 -07:00
.gitattributes Initial commit 2017-03-23 21:04:08 -07:00
.gitignore migrating vsix proj to use the .NET Sdk style 2018-03-28 07:04:41 -07:00
CODE-OF-CONDUCT.md Link Code of Conduct 2020-04-02 14:25:52 -07:00
Directory.Build.props make copyright explicit 2019-04-14 22:22:49 -07:00
Directory.Build.targets add to root of repository 2019-04-14 20:25:58 -07:00
LICENSE.TXT rename file 2019-04-14 21:12:42 -07:00
NuGet.config Update dependencies from https://github.com/dotnet/arcade build 20200811.8 2020-08-13 14:14:14 +00:00
README.md Update README.md 2019-04-13 09:30:17 -07:00
build.cmd move to arcade 2019-04-12 14:07:56 -07:00
global.json Update dependencies from https://github.com/dotnet/arcade build 20201123.2 2020-11-24 13:10:29 +00:00
platform-compat.sln Include PC004.md in sln 2018-12-19 15:00:58 -05:00
restore.cmd move to arcade 2019-04-12 14:07:56 -07:00
test.cmd move to arcade 2019-04-12 14:07:56 -07:00

README.md

Platform Compatibility Analyzer

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.