Summary

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

Usage

-?

Displays help information

ApiPort.exe -?

-listTargets

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.

Option

Description of the option

Usage

-targets:"Windows|ProjectK|Windows Phone"

One of target profiles supported by the tool

ApiPort.exe my.dll

-targets:"Windows;ProjectK;Windows Phone"

-out:filename

the output file to which the results are to be written

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

-description

Description of the submission

ApiPort.exe my.dll

–description:<sometext>

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).

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×