Rotativa.NetCore Could not load type 'Microsof

2019-08-05 13:30发布

I am using Rotativa.NetCore on a .Net CORE 2.0 (latest version and etc) and I am getting the following error: An unhandled exception occurred while processing the request. TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.CookieAuthenticationOptions' from assembly 'Microsoft.AspNetCore.Authentication.Cookies, Version=2.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Any suggestions?

1条回答
成全新的幸福
2楼-- · 2019-08-05 14:30

There's code to update Rotativa.NetCore from .Net Core 1 to .Net Core 2.0 here: https://github.com/aaxelm/Rotativa.NetCore/pull/1/files?diff=split

查看更多
登录 后发表回答