Quantcast
Channel: Excel Data Reader - Read Excel files in .NET
Viewing all articles
Browse latest Browse all 448

Commented Unassigned: ExcelDataReader 2.1.2.2 references incorrect SharpZipLib version in NuGet package in .NET 4.x versions [12996]

$
0
0
Due to some problems resolving SharpZipLib on my project's Test and Stage environments, I've found that ExcelDataReader has been built against a different version to what the NuGet package states.

NuGet states 0.86 is required but when my code that references Excel.dll runs, it says it can't resolve 0.85. Looking at the source, both Excel.4.0.csproj and Excel.4.5.csproj reference 0.85 but Excel.csproj references 0.86.

I've tried to use binding redirects but can't get them to reliably work.

Which is incorrect - the NuGet package or the references? If you are looking to standardize on a particular version across projects perhaps consider the [SharpZipLib NuGet package](http://www.nuget.org/packages/SharpZipLib). It may help alleviate this problem in the future.
Comments: ** Comment from web user: arangas **

This fixed Excel.4.5 but not Excel.4.0 I'm afraid. That is still pointing to the wrong version of SharpZipLib.

Are you having fun yet?!


Viewing all articles
Browse latest Browse all 448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>