GDPicture.NET.14 version is 184.108.40.206
I am following the tutorial for Core .Net 2.2 here. But I am running into an issue with the controller for the API, specifically the LoadFromFileMultipart() method. The IDE gives me this compile time error:
Argument 1: cannot convert from 'Microsoft.AspNetCore.Http.HttpRequest' to 'System.Net.Http.HttpRequestMessage'
I created the project as ASP.NET Core Web Application targeting .NET Framework and Core 2.2 - after creation I change the .NET Framework to "net47".
I added the references in Step 1, Step 2, and Step 3 - I did not need to add additional Razor nuget packages.
The licensing and configuration was pretty straight forward and easily added. The api controller is what is giving me an issue.
I have compared my code to that of the .Net Core Code Sample (aspnetcore-mvc_razor_app), other than the sample code using a preview version of .NET Core 3.0, the code matches but the sample code does not produce the error above.
Could someone please help - I cannot get any farther with my own project.
After more comparison between the Sample Code, my code and the tutorial it seems that the referenced dll is different. In the Redist folder is specifically marked as .NET Core 3.0.
The tutorial says to make a reference to:
C:\GdPicture.NET 14\Redist\DocuVieware (.NET Framework 4.6)\GdPicture.NET.14.WEB.DocuVieware.dll
And the Sample Code references:
C:\GdPicture.NET 14\Redist\DocuVieware (.NET Core 3.0)\GdPicture.NET.14.WEB.DocuVieware.Core.dll
I will be updating my code to reference the Core dll and see if that makes a difference.
Is the .Net Core 2.2 tutorial correct? Or should it say to reference the Core dll?
The link you have provided to the mentioned guide does not lead anywhere.
From what you mention, please make sure you are respecting our operating system requirements: https://www.docuvieware.com/guides/aspn ... ments.html
Feel free to contact us via ticket here for more indepth support: https://orpalis.zendesk.com/hc/en-us/requests/new
Who is online
Users browsing this forum: No registered users and 2 guests