Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

ApiPort.Offline fails to generate HTML report #749

Closed
conniey opened this issue Jan 23, 2019 · 0 comments · Fixed by #751
Closed

ApiPort.Offline fails to generate HTML report #749

conniey opened this issue Jan 23, 2019 · 0 comments · Fixed by #751
Assignees
Labels

Comments

@conniey
Copy link
Member

conniey commented Jan 23, 2019

Repro Steps

  1. Execute: build.ps1 -Configuration Debug -Platform AnyCPU
  2. cd bin\Debug\ApiPort.Offline\net461\
  3. .\ApiPort.exe analyze -f .\ApiPort.exe -r HTML

Expected
An HTML report is generated

Actual

Microsoft (R) API Portability Analyzer v2.6.0-netcoreTests.31+Branch.netcoreTests.Sha.2eedfe609226a240dc43c67dd57a2dc4f8b96108
Copyright (C) Microsoft Corporation. All rights reserved.

This tool analyzes .NET assemblies to determine possible problems moving between .NET platforms (such as
Windows Store, desktop, Mono, .NET Core, etc) as well as between .NET Framework versions (ie 4.x->4.y).

To learn more about how this tool works, including the data we are collecting, visit https://go.microsoft.com/fwlink/?LinkId=506955.

For the full privacy statement, please visit https://privacy.microsoft.com/en-us/privacystatement

Loading catalog                                   [Done]
Loading breaking changes                          [Done]
Detecting assembly references                     [Done]
Analyzing compatibility                           [Failed]
ApiPort.exe Error: 0 : System.InvalidOperationException: Unable to find view 'Views/ReportTemplate.cshtml'. The following locations were searched:
/Views/ReportTemplate.cshtml
   at Microsoft.Fx.Portability.Reports.RazorViewToStringRenderer.FindView(ActionContext actionContext, String viewName)
   at Microsoft.Fx.Portability.Reports.RazorViewToStringRenderer.<RenderViewAsync>d__4`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant