This repo contains .NET Portability Analyzer (VSIX and Console) libraries and tools
Перейти к файлу
Immo Landwerth dcd793a8de
Update link to binary analysis in UA
2022-11-15 15:45:03 -08:00
.data
azure-pipelines
docs Update changelog for 2.8 release 2022-08-11 09:21:32 -07:00
samples/SearchFxApi
src Fixing short description to fit w/in UIs; pointing to changelog/repo for deprecation/offline announcement instead 2022-08-11 10:20:17 -07:00
tests Newtonsoft 13.0.1 bump 2022-08-08 15:05:32 -07:00
tools
.editorconfig
.gitattributes
.gitignore
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
LICENSE.txt
NuGet.Config
PortabilityTools.VisualStudio.Imports.targets
PortabilityTools.sln
PortabilityTools.snk
README.md Update link to binary analysis in UA 2022-11-15 15:45:03 -08:00
SECURITY.md
azure-pipelines-release.yml
azure-pipelines.yml
build.cmd
build.ps1
global.json
init.cmd
init.ps1
rules.ruleset
stylecop.json
version.json only bumping build version because I'm going to have to use this build to update the summary on the marketplace 2022-08-11 10:16:22 -07:00

README.md

.NET API Portability

Note: We're in the process of deprecating API Port in favor of integrating binary analysis directly into .NET Upgrade Assistant. In the upcoming months, we're going to shutdown the backend service of API Port which will require to use the tool in offline mode. The instructions to use API Port in offline mode can be found here.

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

Branch Build Status
main Build Status
dev Build Status

For a quick introduction, check out this video on Shows:

There is a Visual Studio extension available for VS 2017 and VS 2019: .NET Portability Analyzer

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

Documentation

Projects

Project Description
ApiPort Cross-platform console tool to access portability service
ApiPort.Vsix Visual Studio Extension
Microsoft.Fx.Portability Provides common types for API Port
Microsoft.Fx.Portability.MetadataReader Implements a dependency finder based off of System.Reflection.Metadata. The library will generate DocIds that conform to these specifications.
Microsoft.Fx.Portability.Offline Provides access to data in an offline setting so network calls are not needed
Microsoft.Fx.Portability.Reporting.Excel Provides support for an Excel spreadsheet report for ApiPort
Microsoft.Fx.Portability.Reporting.Html Provides support for an HTML report for ApiPort
Microsoft.Fx.Portability.Reporting.Json Provides support for a JSON reporter for ApiPort

Downloads

Location
ApiPort CLI ApiPort Download
Visual Studio Extension Open VSIX Gallery

Privacy:

We only send .NET APIs and its caller user assembly names to the service to analyze for portability and generate report. For more information, check out our privacy policy.

How to Engage, Contribute and Provide Feedback

Here are some ways to contribute:

Want to get more familiar with what's going on in the code?

Looking for something to work on? The list of up-for-grabs issues is a great place to start.

For an overview of all the .NET related projects, have a look at the .NET home repository.

License

This project is licensed under the MIT license.