3

I want to use Rotativa in my application, but when I include "Rotativa in my project.json file. The package console shows Restoring packages failed and the error is:

The Dependency Rotativa 1.6.4 does not support framework .NETCoreApp,Version=v1.0

If Rotativa is not available in ASP Core, is there any other way to convert my page to pdf?

Simply Ged
  • 8,250
  • 11
  • 32
  • 40
Fahad
  • 128
  • 1
  • 3
  • 12
  • 1
    Make sure you are using the version built specifically for Asp Core. https://www.nuget.org/packages/Rotativa.NetCore/ – Eckert Aug 22 '17 at 17:08

1 Answers1

1

You are not using the proper package, remove Rotativa from your project and install Rotativa.AspNetCore, your app will work just fine after that!

AspCore is not AspNet, make sure to always use Core packages

MathieuAuclair
  • 1,229
  • 11
  • 41