Net Portability Analyzer

For each incompatible API, see alternatives (e.g., AppDomain → AssemblyLoadContext ).

Generates reports in Excel (.xlsx), HTML, JSON, and DGML. Usage Methods The .NET Portability Analyzer - Microsoft Learn net portability analyzer

The (often referred to as ApiPort ) is a critical tool for developers looking to modernize their legacy .NET applications. It evaluates how "portable" your code is by scanning compiled assemblies and identifying which .NET APIs are missing in your target platforms, such as .NET Core , .NET 5+ , or .NET Standard . Key Features and Capabilities For each incompatible API, see alternatives (e

This is where the actual work happens. It lists: It evaluates how "portable" your code is by

The most user-friendly method involves installing the extension from the Visual Studio Marketplace. Once installed, you can right-click a project or solution and select Analyze Assembly Portability .

The analyzer does not fix code; it only identifies issues. Here is how to resolve the most common problems found:

The Net Portability Analyzer is a CLI + web-based tool that scans your .NET solution or compiled assembly and produces a detailed portability report. It tells you: