微軟API Portability Analyzer命令行工具可以判斷當(dāng)前應(yīng)用是否可以使用核心CRL。這個(gè)工具還可以分析當(dāng)前應(yīng)用可以運(yùn)行在哪些平臺(tái),以及哪些因素阻止其不能在特定平臺(tái)上運(yùn)行。同時(shí)也會(huì)提示所需要的更改以及使用哪些新增接口來替換。
The API Portability Analyzer tool provides list of .NET APIs used by an app, and portability of those .NET APIs on various .NET profiles/platforms. This allows easy portability analysis for developers who are considering porting existing app on various platforms.
注意:
Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2