SixLabors / ImageSharp.Textures

Texture loading and manipulation library
Apache License 2.0
61 stars 13 forks source link

Could not load type `ArrayPoolMemoryAllocator` when project depends on `ImageSharp` version 2.1.3 #13

Closed Crauzer closed 1 year ago

Crauzer commented 1 year ago

image

The exception seems to be caused by: https://github.com/SixLabors/ImageSharp.Textures/blob/381923859d0bf427657f7424450ab4ec133f0da2/src/ImageSharp.Textures/Configuration.cs#L91

ArrayPoolMemoryAllocator doesn't seem to exist anymore in the latest version of ImageSharp which is likely causing the issue.

brianpopow commented 1 year ago

I have updated the ImageSharp reference to 2.1.3, try the ImageSharp.Textures version alpha.0.139

Crauzer commented 1 year ago

Thanks for the quick fix!