Tool-dotnet-apiport

[删除(380066935@qq.com或微信通知)]

.NET API Portability

This repository contains the source code for .NET Portability Analyzer tools and dependencies.


Using this Repository

See our contributing guide for instructions to build and run from the source code in this repo.


Sample usage to run the analysis from the command line:


./init.ps1

dotnet build src/ApiPort/ApiPort/ApiPort.csproj

dotnet bin/Debug/ApiPort/netcoreapp2.1/ApiPort.dll -- listTargets

dotnet bin/Debug/ApiPort/netcoreapp2.1/ApiPort.dll -- analyze -f Foo.dll -r HTML

If using bash for your shell, for convenience you may create an alias command adding the following to your ~/.bash_profile. Replace {dotnet-apiport-folder} with the path where you cloned the repo.


alias apiport="dotnet {dotnet-apiport-folder}/bin/Debug/ApiPort/netcoreapp2.1/ApiPort.dll"

This will allow you to use apiport globally from the command line: apiport analyze -f Foo.dll -r HTML