-
-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
Description
Prerequisites
- I have written a descriptive issue title
- I have verified that I am running the latest version of ImageSharp.Web
- I have verified if the problem exist in both
DEBUGandRELEASEmode - I have searched open and closed issues to ensure it has not already been reported
ImageSharp.Web version
1.0.5
Other Six Labors packages and versions
ImageSharp 2.1.0
Environment (Operating system, version and so on)
Windows
.NET Framework version
NET 6.0
Description
After upgrading ImageSharp from version 1.0.4 to version 2.1.0, the latest official release of ImageSharp.Web no longer works and throws the following exception at runtime:
System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<SixLabors.ImageSharp.Formats.IImageFormat> SixLabors.ImageSharp.Image.DetectFormatAsync(SixLabors.ImageSharp.Configuration, System.IO.Stream)'.
at SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.ProcessRequestAsync(HttpContext context, IImageResolver sourceImageResolver, ImageContext imageContext, IDictionary`2 commands)
at SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.Invoke(HttpContext context)
I believe this is because there were function signature changes made in v2.0.0 (eg: SixLabors/ImageSharp#1856) that require a rebuild of ImageSharp.Web. There have also been a number of important fixes that haven't yet been released (eg: #222). Would it be possible to get a new official release of ImageSharp.Web published to NuGet?
Steps to Reproduce
Build a project using the latest release of ImageSharp and ImageSharp.Web, and then try to process any image request
Images
No response