mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
0.32.2: System.IO.FileLoadException: Could not load file or assembly SharpCompress #534
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hhyyrylainen on GitHub (Sep 7, 2022).
I get the following exception whenever I try to use any sharpcompress code:
However, this seems to happen only with the latest version on nuget. When using the older version
0.32.1I don't get any such errors and can create compressed files just fine.I found this already closed issue when trying to find what the problem was: https://github.com/adamhathcock/sharpcompress/issues/591 so perhaps a similar issue has popped up again?
I'm using dotnet 6.0.108 on Linux.
@adamhathcock commented on GitHub (Sep 7, 2022):
A bit of mystery as 0.32.2 didn't change the csproj or references. Not sure what has been done stop the assembly to load.
https://github.com/adamhathcock/sharpcompress/compare/0.32.1...0.32.2
@Erior commented on GitHub (Sep 14, 2022):
To me it sounds like it does not replace the dll when you run the new project, check the dll in the directory with your application and your nuget cache.
@hhyyrylainen commented on GitHub (Sep 15, 2022):
I just tested again and I guess this was a nuget cache issue or something like that. I did try all of the various command line flags to ignore caches but it didn't work before. I had issues with another library (which didn't turn out to be a nuget problem), which lead me to delete all of my package caches I could find, which likely made my attempt work now.