Runtime problems after updating from v0.18.2 to v0.19.0 #266

Closed
opened 2026-01-29 22:09:14 +00:00 by claunia · 6 comments
Owner

Originally created by @michalkrzych on GitHub (Dec 15, 2017).

If you're still using .NET 4.6.1 don't upgrade to SharpCompress version 0.19.0 as it seems to be using System.Buffers which depends on .NET Standard 2.0 libraries (System.Net.Http 4.2.0.0 and System.ValueTuple 0.0.0.0) causing a mismatch between the version of .dlls as .NET 4.6.1 is still using System.Net.Http 4.0.0.0 and System.ValueTuple 4.4.0 (from NuGet).

So I think the backward compatibility of SharpCompress is broken for anyone who doesn't use .Net Standard yet...

Originally created by @michalkrzych on GitHub (Dec 15, 2017). If you're still using .NET 4.6.1 don't upgrade to SharpCompress version 0.19.0 as it seems to be using System.Buffers which depends on .NET Standard 2.0 libraries (System.Net.Http 4.2.0.0 and System.ValueTuple 0.0.0.0) causing a mismatch between the version of .dlls as .NET 4.6.1 is still using System.Net.Http 4.0.0.0 and System.ValueTuple 4.4.0 (from NuGet). So I think the backward compatibility of SharpCompress is broken for anyone who doesn't use .Net Standard yet...
claunia added the bug label 2026-01-29 22:09:14 +00:00
Author
Owner

@tobiasschulz commented on GitHub (Dec 15, 2017):

Version 0.19.0 broke my Xamarin app completely. The problem is that System.Buffers.dll is not available on Mono and Xamarin.Android/iOS. This version is completely useless and no longer cross platform.

@tobiasschulz commented on GitHub (Dec 15, 2017): Version 0.19.0 broke my Xamarin app completely. The problem is that System.Buffers.dll is not available on Mono and Xamarin.Android/iOS. This version is completely useless and no longer cross platform.
Author
Owner

@tobiasschulz commented on GitHub (Dec 15, 2017):

System.Buffers should only be referenced in a .net framework and .net core specific dll. The .net standard version can't reference it.

@tobiasschulz commented on GitHub (Dec 15, 2017): System.Buffers should only be referenced in a .net framework and .net core specific dll. The .net standard version can't reference it.
Author
Owner

@adamhathcock commented on GitHub (Dec 15, 2017):

.NET 4.6.1 should be using the .NET Standard 2.0...I'm not sure about the issue there.

As for Mono/Xamarin...I guess it's using the .NET 4.5 version instead of the .NET Standard 1.0 version?

@adamhathcock commented on GitHub (Dec 15, 2017): .NET 4.6.1 should be using the .NET Standard 2.0...I'm not sure about the issue there. As for Mono/Xamarin...I guess it's using the .NET 4.5 version instead of the .NET Standard 1.0 version?
Author
Owner

@adamhathcock commented on GitHub (Dec 15, 2017):

Cross targetting is a nightmare. I should just absorb the arraypool classes in or remove the pooling.

@adamhathcock commented on GitHub (Dec 15, 2017): Cross targetting is a nightmare. I should just absorb the arraypool classes in or remove the pooling.
Author
Owner

@tobiasschulz commented on GitHub (Dec 15, 2017):

No Mono using the .net standard version, but that version depends on System.Buffers which is not cross platform.

@tobiasschulz commented on GitHub (Dec 15, 2017): No Mono using the .net standard version, but that version depends on System.Buffers which is not cross platform.
Author
Owner

@adamhathcock commented on GitHub (Dec 15, 2017):

https://www.nuget.org/packages/sharpcompress/0.19.1

@adamhathcock commented on GitHub (Dec 15, 2017): https://www.nuget.org/packages/sharpcompress/0.19.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#266