dotnet / platform-compat

Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
MIT License
278 stars 43 forks source link

Support analyzing projects that target other frameworks #75

Closed jeremymeng closed 6 years ago

jeremymeng commented 6 years ago

Currently, the exception analyzer only runs on projects that target .NET Standard or .NET Core. However, customers who are considering porting but haven't done so yet would still want to see the potential issues by running the analyzer on their projects that target .NET Framework.

pjanotti commented 6 years ago

Added EnablePlatformCompatExceptionsAnalyzer option to force run against any framework.