Rotativa icon indicating copy to clipboard operation
Rotativa copied to clipboard

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?)

Open weedkiller opened this issue 7 years ago • 6 comments

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

weedkiller avatar Nov 16 '18 01:11 weedkiller

You need to install this version: Rotativa

#177

Burtup avatar Dec 10 '18 21:12 Burtup

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

weedkiller avatar Dec 11 '18 00:12 weedkiller

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

zw-gb avatar Dec 05 '19 17:12 zw-gb

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.

ericfelipe99 avatar Dec 09 '19 18:12 ericfelipe99

it doest work for 4.8 either, the issue continues

weedkiller avatar Dec 18 '19 17:12 weedkiller

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

khalidfahmy98 avatar Dec 27 '23 00:12 khalidfahmy98