Evaluating aspose.ocr issue

Also, I cant compile.

I am on AsposeOCR 25.11.0, OCRTable, OCRTableRow and OCRTableCell does not exist, so I cant compile. See code above, please advise.

How can I get it ti recognize these objects so I can try this detectlayout functionality.

Also, perhaps it would help me to understand what the use case for this functionality is. Why would someone need all tables and data in one table? Is that need people have?

Do you have any suggestions on our use case. Taking a flattened pdf page with multiple tables and getting the data out and into a database table?

@maseyo

We are able to see these Classes and they are available in 25.11 version of the API. Would you kindly re-install the API from NuGet Package to confirm?

We have implemented this solution because it took less time and it was immediate. Your requirements seems complex and it requires significant amount of time and work to fully implemented. We are still analyzing them by recording all of your concerns and comments and will keep working on them. We will create a new ticket to reshape this case and share it with you soon.

AsposeOCR.zip (639.5 KB)

Hello,

This is quite a journey. Just to be clear, I have a one page flattened pdf file. It has 7 grids on this one page, 7 tables. I need to get each table in it’s own object and be able to scroll through each row and each cell and get the text. That’s it.

This week I have been down many rabbit holes. I was able to get the text in oe version, but all in one table, not in 7 different tables. You can see this text in the file GraceLutheran_Page1.txt in the main directory. See row 4 is actual row 0 of a new table. This code has a lot of conversions from the original.

The current version is back to step one, here is the function you sent me, converted to vb.net with two revisions marked 'replace this with that

Sub getTables(pngPath As String)
Dim recognitionEngine As New Aspose.OCR.AsposeOcr()

 ' Add an image to OcrInput object
 Dim input As New Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage)
 input.Add(pngPath)

 ' Detect layout
 Dim layout As Aspose.OCR.LayoutOutput = recognitionEngine.DetectDocumentLayout(input)(0)
 Dim tables As List(Of Aspose.OCR.ContentArea) = layout.Tables

 ' Recognize tables
 Dim tableAreas As New Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage)

 For Each table As Aspose.OCR.ContentArea In tables
     'replace this with that
     'tableAreas.Add(tables.image)
     tableAreas.Add(pngPath)
 Next

 'replace this with that
 'Dim recognResult As Aspose.OCR.OcrOutput = api.Recognize(tableAreas)
 Dim recognResult As Aspose.OCR.OcrOutput = recognitionEngine.Recognize(tableAreas)

End Sub

There is a zero count of tables and zero for recognitionresult, but at least it compiles and does not seem to error out.

Please help. I coinverted the Grace_Lutheran.pdf one page file to Grace_Lutheran.png file in the png subdirectory. You can skip that part. I just need to get a loop

For each table in tables
for each row in table.rows
for each cel in row.cells
val = cell.text
next
next
next

This is all I need. NOw there is this Evaluation copy watermark in the png file, I am not sure what that impacts.

Please help, I appreciate a;ll your assistance. I think we are very close to knowing if this api will work.

@maseyo

Thanks for your patience and feedback. We have been analyzing your request and requirements under a new ticket i.e. OCRNET-1150 that is associated with this forum thread as well. To be on the same page, the given solution of extracting all the page data in one single table object is simply not useful and acceptable in your case. You expect from API to return table objects equal to the tables present on a page so that you can further use these objects to create CSV or any other format.

The logged ticket is being worked upon and as soon as we get any solution, we will update you. Please also note that this is very complex process to develop such a feature in OCR API and it can take significant amount of time. Nevertheless, we will surely anlayze and keep you posted with the status of ticket resolution. Your patience is greatly appreciated.

@maseyo

Would you please give a try to the below code snippet and let us know if it helped?

  License lic = new License();
  lic.SetLicense(@"D:\licenses\2026\Aspose.OCR.NET2025_2.lic");
 
 
  AsposeOcr api = new AsposeOcr();
  OcrInput input = new OcrInput(InputType.SingleImage);
  input.Add(@"D:\table.png", 0, 1);
  var layout = api.DetectDocumentLayout(input);
  foreach (var table in layout[0].Tables)
  {
      OcrInput tableInput = new OcrInput(InputType.SingleImage);
      tableInput.Add(table.image);
      var tableResult = api.Recognize(tableInput);
      var taleData = tableResult.GetTableData();
  }

I assume the code in red is my license and my pdf file location, is that correct?

foreach (var table in layout[0].Tables) indicates I will get multiple tables, which is what I want. From here are there rows and cells?

so for each iteration

var taleData = tableResult.GetTableData();

I get an object taleData (I assume you meant tableData) is there a tableData.rows(x).cells(x)

It converts to vb below. " For Each table In firstLayout.Tables" there are zero tables in the tables object. Same pdf file as before, the license is initiated in the new procedure, did you get this to return all the tables on the page in C#?

No tables at all.

Sub Test(pngPath As String)
Dim api As New AsposeOCR()
Dim recognitionEngine As New Aspose.OCR.AsposeOcr()
Dim input As New OcrInput(InputType.SingleImage)
'input.Add(“D:\table.png”, 0, 1)
input.Add(pngPath, 0, 1)

 Dim layouts = recognitionEngine.DetectDocumentLayout(input)

 'Dim layout = api.DetectDocumentLayout(input)
 'Dim layout As Aspose.OCR.LayoutOutput = recognitionEngine.DetectDocumentLayout(input)(0)
 Dim firstLayout As Aspose.OCR.LayoutOutput = layouts.First()


 'For Each table In layout(0).Tables
 For Each table In firstLayout.Tables
     Dim tableInput As New OcrInput(InputType.SingleImage)
     tableInput.Add(table.image)

     Dim tableResult = recognitionEngine.Recognize(tableInput)
     Dim taleData = tableResult.GetTableData()
 Next

End Sub

@maseyo

The ticket information has been updated as per your feedback. We will continue with the investigation and let you know once we have feedback to share.

Hello Asad,

Happy New Year,

Just wanted to check in. Let me know if you can process the one page pdf file I sent you, with the code you sent me, even in c#. Each table separate, not as one big table.

Thanks.

@maseyo

Sadly, the ticket hasn’t been resolved yet. We are in process of investigating the scenario and once the ticket is resolved, we will inform you. Please spare us some time.

We apologize for the inconvenience.

Grace_Lutheran.pdf (637.1 KB)

Hello,

Happy new year. I appreciate your attention. We are coming to the end of our evaluation. If there is anyone at Aspose who can get this code working, even in C#, to process the one-page pdf file (attached), by reading each grid as a discrete object and not one table, we will go forward with this purchase. If there is another api, say for forms etc that will do this, recognize separate forms on one page, that would be worth looking into as well.

I am still unclear what the use case is for the product is. Why would someone need all the tables as one table? How do the other developers separate the data? If I knew that perhaps I could find other ideas.

Please let me know if you are able to get me sample code of how this product can accomplish this task.

Thanks again for everything, I appreciate your time.

Best Regards,
Mase Woods

@maseyo

We have already observed your requirements and continuously working on the ticket. However, there are other tickets in the queue as well that need our attention. We will surely schedule the ticket that was logged for your scenario and as soon as we have some updates about its resolution, we will inform you. We highly appreciate your patience and comprehension in this matter. Please spare us some time.

Hello Asad,

Something has happened. We have coded for Aspose.pdf to extract tables from pdf pages that are not flattened in grids. It was working great. Aspose did something to this dll, Aspoe.pdf. Now my project will not compile, I can’t fix it. I am running on .net 4.7.2, can someone please call as soon as possible to get this back to how it was befoe.

Tried using nuget to upgrade to the Aspose.pdf 26.1.0 but that requires updated .net versions. I tried downloading the older version from your website but it wont help either. This is a huge issue for us, please advise, asap. Thanks you,

Best Regards,

Mase Woods
MaseW@bidtracer.com
480.734.5077

@maseyo

Would you kindly share more details like what type of compilation errors are you facing? If possible, can you please share a sample console application that is able to reproduce the issue? Please share some more details with us so that we can look into this issue and address it accordingly.

PS: If it was already working fine and started to give an error without even changing the API version or upgrading it, there might be some other reasons or libraries that might have caused the conflicts. Please try to create a fresh sample console application and check there if error still persists.

I cannot recall the original error, it had some kind of conflict.

I hade Aspose.pdf but a prior version. It would not compile or run. So, I used nuget to uninstall and install the new version 26.1.0. Turns out that is not for .net 4.7.2 which is what I need to use.

So now I have no version of Aspose in my website. I need the version back that I had and I need it to run. Below is the error I get now. I did not do anything this happened all on its own. My laptop did reboot by itself recently if that is relevant. I am unable to work now, this is a high prioity for me. Thank you.

Found conflicts between different versions of “System.Memory” that could not be resolved.
There was a conflict between “System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” and “System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”.
“System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” was chosen because it was primary and “System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” was not.
References which depend on “System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” [C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll].
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll”.
System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL
System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
System.Text.Encodings.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\bin\Aspose.PDF.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\bin\Aspose.PDF.dll”.
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.Extensions.Logging.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.Extensions.Logging.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll”.
Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Diagnostics.DiagnosticSource.7.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Diagnostics.DiagnosticSource.7.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll”.
System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.IO.Pipelines.9.0.0\lib\net462\System.IO.Pipelines.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.IO.Pipelines.9.0.0\lib\net462\System.IO.Pipelines.dll”.
System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Net.Http.Json.8.0.1\lib\net462\System.Net.Http.Json.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Net.Http.Json.8.0.1\lib\net462\System.Net.Http.Json.dll”.
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encoding.CodePages.7.0.0\lib\net462\System.Text.Encoding.CodePages.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encoding.CodePages.7.0.0\lib\net462\System.Text.Encoding.CodePages.dll”.
System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encodings.Web.9.0.0\lib\net462\System.Text.Encodings.Web.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encodings.Web.9.0.0\lib\net462\System.Text.Encodings.Web.dll”.
System.Text.Encodings.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Json.9.0.0\lib\net462\System.Text.Json.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Json.9.0.0\lib\net462\System.Text.Json.dll”.
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
References which depend on or have been unified to “System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” [].
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.ML.OnnxRuntime.Managed.1.22.1\lib\net8.0\Microsoft.ML.OnnxRuntime.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.ML.OnnxRuntime.Managed.1.22.1\lib\net8.0\Microsoft.ML.OnnxRuntime.dll”.
Microsoft.ML.OnnxRuntime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=f27f157f0a5b7bb6, processorArchitecture=MSIL

@maseyo

Looks like there is system specific issue at your side. Please try to download .NET 4.x supported DLLs of 26.1 version from below link and use them in a fresh console application. If issue still persists, let us know by sharing that application with us.

OK I downloaded the dll.

I made a new Console (.net 4.7.2) app and the new dll was referenced fine

I was not able to add it to my actual website

I added to my project and got this:

Found conflicts between different versions of “System.Memory” that could not be resolved.
There was a conflict between “System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” and “System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”.
“System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” was chosen because it was primary and “System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” was not.
References which depend on “System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” [C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll].
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll”.
System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL
System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
System.Text.Encodings.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\bin\Aspose.PDF.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\bin\Aspose.PDF.dll”.
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.Extensions.Logging.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.Extensions.Logging.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll”.
Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Diagnostics.DiagnosticSource.7.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Diagnostics.DiagnosticSource.7.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll”.
System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.IO.Pipelines.9.0.0\lib\net462\System.IO.Pipelines.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.IO.Pipelines.9.0.0\lib\net462\System.IO.Pipelines.dll”.
System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Net.Http.Json.8.0.1\lib\net462\System.Net.Http.Json.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Net.Http.Json.8.0.1\lib\net462\System.Net.Http.Json.dll”.
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encoding.CodePages.7.0.0\lib\net462\System.Text.Encoding.CodePages.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encoding.CodePages.7.0.0\lib\net462\System.Text.Encoding.CodePages.dll”.
System.Text.Encoding.CodePages, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encodings.Web.9.0.0\lib\net462\System.Text.Encodings.Web.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Encodings.Web.9.0.0\lib\net462\System.Text.Encodings.Web.dll”.
System.Text.Encodings.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Json.9.0.0\lib\net462\System.Text.Json.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\System.Text.Json.9.0.0\lib\net462\System.Text.Json.dll”.
System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
Aspose.PDF, Version=26.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56, processorArchitecture=MSIL
System.Net.Http.Json, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL
References which depend on or have been unified to “System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51” [].
C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.ML.OnnxRuntime.Managed.1.22.1\lib\net8.0\Microsoft.ML.OnnxRuntime.dll
Project file item includes which caused reference “C:\bidtracer\websites\PlansetProcessing\PlansetProcessing\packages\Microsoft.ML.OnnxRuntime.Managed.1.22.1\lib\net8.0\Microsoft.ML.OnnxRuntime.dll”.
Microsoft.ML.OnnxRuntime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=f27f157f0a5b7bb6, processorArchitecture=MSIL

@maseyo

Please consider adding a binding redirect in your app.config or web.config file. This tells the runtime to use one version of the assembly regardless of what other assemblies request. Here’s how you can add a binding redirect:

<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

After making changes, remember to clean and rebuild your project to ensure that all cached references are updated.