webgio / Rotativa

Rotativa, /rota'tiva/. Make Pdf from Asp.Net MVC. Available on Nuget https://www.nuget.org/packages/Rotativa
http://letsfollowtheyellowbrickroad.blogspot.it/search/label/Rotativa
MIT License
621 stars 224 forks source link

Targeting 4.7 and 4.6 latest rotativa from Nuget not working -- type or namespace name 'Rotativa' could not be found (are you missing a using directive or an assembly reference?) #199

Open weedkiller opened 5 years ago

weedkiller commented 5 years ago

Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'Rotativa' could not be found (are you missing a using directive or an assembly reference?) ReaLocate.Web c:\Test\Web\Controllers\InvoicesController.cs 12 Active

Burtup commented 5 years ago

You need to install this version: Rotativa

177

weedkiller commented 5 years ago

Hello,t hanks for the response, I tried it with the RC version and i still get the error

zw-gb commented 4 years ago

What was the solution for this? The rc version did not fix my issue as well.

ericfelipe99 commented 4 years ago

What was the solution for this? The rc version did not fix my issue as well.

I had the same problem with nuget package install... you could try to reference Rotativa's DLL manually. Justo go to your solution folder, find the package folder, rotativa folder and find it's DLL and reference it in your project.

weedkiller commented 4 years ago

it doest work for 4.8 either, the issue continues

khalidfahmy98 commented 8 months ago

Open References and right click on Rotative -> properties copy the path

then right click on reference choose browse and paste the path above in the windows explorer make sure to remove the last rotative.dll file from the end of path

after that choose the dll file it would be the only then click ok - > ok and you are good to go

that worked for me