reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Inchiosa <minchi...@gmail.com>
Subject Re: .NET Portability Analyzer
Date Tue, 27 Sep 2016 17:07:07 GMT
Yes, the command line version provides an overall picture across all
assemblies in the solution, while running from Visual Studio helps pinpoint
the lines that need fixing in a particular project.

On Mon, Sep 26, 2016 at 7:21 PM, Douglas Service <dsopsrc@gmail.com> wrote:

> I tried using the command line version, but the output from the visual
> studio version was clearer about what needed to be done for a given REEF
> project so that is the output I attached to all of the JIRA for CoreCLR API
> changes.
>
> On Mon, Sep 26, 2016 at 4:43 PM, Mario Inchiosa <minchiosa@gmail.com>
> wrote:
>
> > Here is a quick example of running the .NET Portability Analyzer against
> > REEF assemblies from a Windows PowerShell command line:
> >
> > # Download ApiPort.zip from
> > https://github.com/Microsoft/dotnet-apiport/releases and extract the
> files
> >
> > # Usage info:
> > https://github.com/Microsoft/dotnet-apiport/blob/master/
> > docs/HowTo/Introduction.md
> >
> > # Edit the following paths as needed on your machine
> > cd C:\reef11
> > $reefdir=".\reef\"  #your top level reef directory
> > $ApiPortdir = "C:\Users\marinch\Downloads\ApiPort\ApiPort" #your command
> > line portability analyzer directory containing ApiPort.exe
> >
> > # List the currently available API targets
> > $cmd = ${ApiPortdir} + "\ApiPort.exe listTargets"
> > Invoke-Expression $cmd
> >
> > # Analyze compatibility with .NET Core App Version 1.0
> > $cmd = ${ApiPortdir} + "\ApiPort.exe analyze -f " + ${reefdir}
> > +"\lang\cs\bin\. -r excel -t `".NET Core App, Version=1.0`" "
> > Invoke-Expression $cmd
> >
> > # Analyze compatibility with .NET Core App Version 1.1
> > $cmd = ${ApiPortdir} + "\ApiPort.exe analyze -f " + ${reefdir}
> > +"\lang\cs\bin\. -r excel -t `".NET Core App, Version=1.1`" "
> > Invoke-Expression $cmd
> >
> > -Mario
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message