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.
Download informationThe API Portability Analyzer – Alpha is available for download from the following Microsoft Download Center website:
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 servicesMicrosoft 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
The <assembly> option also takes some additional optional parameters.
|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 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.
|Option||Description of the option||Usage|
|-targets:"Windows|ProjectK|Windows Phone"||One of target profiles supported by the tool||ApiPort.exe my.dll |
|-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 |