Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf.Mvc and NuGet Options
dkehring
Posted: Thursday, December 8, 2016 7:12:39 AM
Rank: Newbie
Groups: Member

Joined: 12/8/2016
Posts: 4
Hi,

I am working on an ASP.NET Core 1.0 project with MVC targeting .NET Framework 4.6.1. I want to reference the EO.Pdf.Mvc DLL in my project, but currently in netcore you can only reference external dependencies via NuGet packages. There does not appear to be a NuGet package specific to EO.Pdf.Mvc, nor does it seem to be included in the EO.Pdf package. Is there any plan to make EO.Pdf.Mvc available via NuGet?

Thanks,
Dave
eo_support
Posted: Thursday, December 8, 2016 7:23:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,080
Hi,

EO.PDF.Mvc is included in EO.Pdf package. The DLLs are in the lib folder.

Thanks!
dkehring
Posted: Thursday, December 8, 2016 7:55:36 AM
Rank: Newbie
Groups: Member

Joined: 12/8/2016
Posts: 4
Hi,

Thanks for the reply. Yes, it's in the lib folder of the NuGet package, but it's not showing as a reference in my project. Would it help to include EO.Pdf.Mvc.dll in the assembly references along with the other DLLs? Can send you screenshots if that will help.

Thanks,
Dave
eo_support
Posted: Thursday, December 8, 2016 11:05:44 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,080
Hi,

When you download EO.Pdf package, it will automatically add reference to EO.Pdf.Mvc.dll based on whether your project uses MVC or not. However this only works for regular project, not .NET core project.

In order to use it with .NET core project, you can create an intermediate .net core project that references our DLLs and then reference that project. See here for more details:

http://stackoverflow.com/questions/29970854/how-do-you-add-references-to-locally-created-non-asp-net-5-dlls-to-an-asp-net-5

We will also look into it on our side and see if we can provide such a wrapper or an additional MVC nuget package in future version.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.