0

Installed Rotativa (https://github.com/webgio/Rotativa/blob/master/README.md) with NPM. I restarted VS. Then I tried updating with:

Update-Package -reinstall Rotativa

And I'm still getting a "The type or namespace Rotativa could not be found" error on the using statement.

I can confirm that the Rotativa folder is in my solution.

Any suggestions?

Sartorialist
  • 291
  • 2
  • 18
  • Does web.config has a reference to this dll and its same version to what you have in you packages.config.. They also have a newer version for Asp Net Core.. – boateng Jun 20 '18 at 18:22
  • @numbtongue No, nothing in web.config. Is that required? If so, tips on adding? (need public key token) – Sartorialist Jun 20 '18 at 18:28
  • May be If you copy it From packages.config to web.config like this https://stackoverflow.com/a/40368267/3254405 – boateng Jun 20 '18 at 18:41
  • It doesn't seem that way, since packages.config doesn't have a PublicKeyToken. @numbtongue – Sartorialist Jun 20 '18 at 18:44
  • Under references folder in VS check if the file listed without any warning icon, and verify the same version to packages by right click properties.. Otherwise try removing it and add it back by browsing to its folder.. – boateng Jun 20 '18 at 19:05
  • To get public key you can use https://stackoverflow.com/a/20948633/3254405 – boateng Jun 20 '18 at 19:25

0 Answers0