VahidN / PdfReport.Core

PdfReport.Core is a code first reporting engine, which is built on top of the iTextSharp.LGPLv2.Core and EPPlus.Core libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not load file or assembly PdfRpt.Core on Ubuntu 16.04

daniel-luberda opened this issue · comments

Summary of the issue

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'PdfRpt.Core, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

It works fine on 1.2.7
FileLoadException on 1.2.8
FileLoadException on 1.3.0

Environment

.NET Core SDK version: 2.2
Ubuntu 16.04

Find all of the bin and obj folders in your entire solution and delete them.
Then run these commands in the root folder of your solution to update its dependencies consistently:

dotnet tool install -g dotnet-outdated
dotnet outdated -u
dotnet restore
commented

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related problems.