Friday, February 3, 2023

Description of API Portability Analyzer - Alpha - Microsoft Support [MS]


The API Portability Analyzer tool provides a list of .NET APIs that are used by an application, and the portability of those .NET APIs on various .NET profiles or platforms. This enables easy portability analysis for developers who consider porting an existing application to various platforms. 

More Information

Download information

The API Portability Analyzer – Alpha is available for download from the following Microsoft Download Center website:
Download Download the package now.

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Supported command-line options for this tool

Standard Option

Description of the option



Displays help information

ApiPort.exe -?


Display the list of the possible target profiles that may be specified

ApiPort.exe -listTargets

<assembly> [optional params]

Analyze an assembly

ApiPort.exe my.dll

The <assembly> option also takes some additional optional parameters.


Description of the option


-targets:"Windows|ProjectK|Windows Phone"

One of target profiles supported by the tool

ApiPort.exe my.dll

-targets:"Windows;ProjectK;Windows Phone"


the output file to which the results are to be written

ApiPort.exe my.dll –out:filename.xlsx


Description of the submission

ApiPort.exe my.dll


The tool produces a Microsoft Excel workbook as its output. This workbook provides various levels of analysis. The tool provides a high level view that displays the percentage of portable APIs at an assembly level. The tool also provides a more detailed view that displays the list of individual APIs that are not portable on a given profile or platform.

Data Collection and Privacy

Microsoft collects a list of .NET APIs that are used by the user submitted binaries. Microsoft also collects the names of APIs that are created by using developer code. The tool does not collect the binary code, only names of the APIs are collected. This information is used to identify .NET APIs that are used by the binary and remove any developer written API from the portability analyzer report. Microsoft also collects assembly information such as assembly references for the binary and the Target Framework Moniker (TFM).

No comments:

Post a Comment

Search This Blog

Description of the InfoPath 2010 update 2817396: February 11, 2014 - Microsoft Support [MS]

Description of the InfoPath 2010 update 2817396: February 11, 2014 InfoPa...