This project has moved and is read-only. For the latest updates, please go here.
1

Closed

Could not load file or assembly EPPlus, Version=3.1.0.0,

description

My current project is running with EPPLus 3.1.0. When i run the sample from this website, i get the below error. Even, i downgrade my EPPlus to 3.1.0, the below error still occur. Please advice

Could not load file or assembly 'EPPlus, Version=3.1.0.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Closed Sep 2, 2014 at 10:05 PM by VahidN

comments

VahidN wrote Mar 14, 2013 at 7:30 AM

Hello,
  • Sometimes Versions parts of the .csproj files won't be updated by the VS.NET and you need to update it manually. Open your .csproj file and remove the whole Version=... part of the EPPlus definition.
    <Reference Include="EPPlus">
      <HintPath>..\Bin\EPPlus.dll</HintPath>
    </Reference>

wrote Sep 2, 2014 at 10:05 PM