I've run into this kind of issue, the last days, and it took me quite a while to find a solution.
Even if it's not a perfect one.
I had to add this line to my code
ConfigurationManager.AppSettings["7zLocation"] = sevenZipPath;
I went here after reading the source code of SevenZipSharp and I found this line:
internal static class SevenZipLibraryManager
private static string _libraryFileName = ConfigurationManager.AppSettings["7zLocation"] ??
Without the previous line the code was blowing with an exception of invalid path when I called the method bellow.
I can assure you that the path is a perfect valid path, I've a lot of verifications before calling this line, and If I get a bad path I must throw an exception . . .
From your experience do you have any ideas of other workaround ? Is it related to how I'm referencing the DLL ?
Thanks in advance for your help.