microsoft/dotnet-apiport

Portability Analysis Results always starts empty

chlowell opened this issue · 1 comments

No matter the contents of the output directory, the Portability Analysis Results window is always empty at startup.

Cause appears to be:

  1. OptionsModel.Formats is backed by a collection initialized empty in the OptionsModel ctor and evidently not updated.
  2. OptionsViewModel.Formats is empty because it relies on OptionsModel.Formats
  3. A list of report file extensions is built in ServiceProvider.GetOutputViewModel using OptionsViewModel.Formats, which is always empty as described above.
  4. GetOutputViewModel returns an OutputViewModel including no existing reports, which the output window renders.

Closing as API Port was deprecated in favor of binary analysis in .NET Upgrade Assistant.