codaxy / wkhtmltopdf

C# wrapper around excellent wkhtmltopdf console utility.
265 stars 92 forks source link

The type or namespace Codaxy could not be found #18

Closed funzeye closed 8 years ago

funzeye commented 8 years ago

Hi, Ive added the nuget package into my project (aspnet 5/core mvc 6 project). I can see it in project.json file and in reference directory. Getting this error when adding in the using statement: "using Codaxy.WkHtmlToPdf;" Is there another step Im missing!? Does it work with latest version of asp.net?

mstijak commented 8 years ago

I haven't tried it with latest version of asp.net. Maybe something has changed.

NuGet install just copies one file to your project: https://github.com/codaxy/wkhtmltopdf/blob/master/NuGet/Codaxy.WkHtmlToPdf/content/PdfConvert.cs

You can copy it yourself if NuGet fails again.

funzeye commented 8 years ago

Fair enough, thanks for reply.