I am trying to convert mvc core 2.0 view to pdf with rotativa.netcore 1.0.4. But it through an exception as
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.CookieAuthenticationOptions' from assembly 'Microsoft.AspNetCore.Authentication.Cookies, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
my code,
public ActionResult Index()
{
return View();
}
public ActionResult PrintIndex()
{
return new ActionAsPdf("Index");
}
I am trying to convert mvc core 2.0 view to pdf with rotativa.netcore 1.0.4. But it through an exception as
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.CookieAuthenticationOptions' from assembly 'Microsoft.AspNetCore.Authentication.Cookies, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
my code,