Hello everyone.
I’am trying to display images in a Sharepoint Webpart made of pages of an PDF File.
When I deploy the solution in a non Sharepoint webpart (like an aspx solution) the program makes an image as I expect. Whoever when I try to deploy (or even build) the solution to my Sharepoint site it gives me the following warningfor every assembly that I referenced in my project:
Warning 1 The primary reference “Aspose.Pdf.Kit, Version=5.0.0.1, Culture=neutral, PublicKeyToken=73a370f7bee41424, processorArchitecture=MSIL” could not be resolved because it has an indirect dependency on the .NET Framework assembly “mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089” which has a higher version “4.0.0.0” than the version “2.0.0.0” in the current target framework. PDFAspose
And this error:
C:…\VisualWebPart1UserControl.ascx.cs(5,7): error CS0246: The type or namespace name ‘Aspose’ could not be found (are you missing a using directive or an assembly reference?)
(And o course the assembly is referenced in my project, while I’am programming, the Visual Studio IDE doesnt give me warnings or errors in the code)
Has anyone faced this kind of error-warnings?.
Hope you can help me, I’am pretty interested in buying this DLLto make this kind of solutions for my enterprise.
Grettings!