Use the command ApiPort.exe analyze -f [path-to-binaries] .
Whether you are migrating a legacy .NET Framework application to the modern .NET 8/9 ecosystem or ensuring your libraries support multi-platform environments like Linux and macOS, understanding your code’s "portability score" is essential. The (often referred to as API Port or simply the Portability Analyzer ) has long been the gold standard for this task. portability analyzer new
This is the current primary tool for migration. It includes an "Analyze" command that provides portability reports similar to the original analyzer but with a richer, guided UI within Visual Studio or via a CLI. Use the command ApiPort
Right-click your project and select Analyze Assembly Portability . This is the current primary tool for migration
If you prefer the classic Portability Analyzer Console App , here is how to get started: