) is a tool that analyzes .NET assemblies (DLLs or EXEs) to determine how portable they are across different .NET implementations, such as .NET Core, .NET Standard, or .NET 5+. It generates a detailed report outlining which APIs are missing in the target framework, making it an essential first step for migrating legacy .NET Framework applications. Microsoft Learn +2 Note: The tool is primarily meant for offline use now, as the online backend service has been shut down, notes Microsoft Learn . 1. Key Purposes and Benefits Assess Migration Effort: Determines how much work is required to port code to .NET Core or .NET Standard. Identify Missing APIs: Pinpoints exactly which APIs are unavailable in the target platform. Recommendation Engine: Suggests alternative APIs or technologies for incompatible code. Support for Multiple Targets: Supports checking against .NET Core, .NET Standard, UWP, and Xamarin. Microsoft Learn +2 2. How to Install and Set Up The analyzer is available in two forms: a Visual Studio Extension and a Console App (apiport.exe). Option A: Visual Studio Extension Open Visual Studio. Go to
For automation or CI/CD pipelines, the Portability Analyzer Console App allows you to run scans directly from the command line. Interpreting the Results net portability analyzer
Overall portability: 94% (Excellent)
Allows you to select up to 15 different target platforms (e.g., .NET 8, .NET Standard 2.1) to test against. ) is a tool that analyzes
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 . and Xamarin. Microsoft Learn +2 2.
The tool provides a comprehensive roadmap for migration by highlighting potential roadblocks before you even start refactoring.