mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
ZipReader OpenEntryStream / WriteEntryTo NullReferenceException with .NET 6.0 #481
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 @Pyroluk on GitHub (Nov 17, 2021).
Hi,
ZipReader's OpenEntryStream() and WriteEntryTo() are throwing NullReferenceException when using .NET 6. Same code works perfectly fine with .NET 5.
Hope it is a quick and easy fix.
Thank you for providing this awesome project.
Cheers!
@Pyroluk commented on GitHub (Nov 19, 2021):
For some reason the chain for creating the base64 string omitted a blank at the end of the string in .net 6.
That messed up everything.