26.7.1
26.7.1 — Linux/macOS GDI+ resolver (gdiplus.dll DllNotFoundException)
What changed
- Added
GdiPlusResolverand registered it (GdiPlusResolver.Register()) at the top ofProgram.cs, before any tool can trigger a GDI+ P/Invoke. - Bumped the MCP package version from 26.7.0 to 26.7.1 (CalVer), including
.mcp/server.json(bothversionfields).
Why
GroupDocs.Annotation rasterizes annotations onto document pages through System.Drawing.Common, whose GDI+ interop P/Invokes gdiplus.dll. On Windows that's built in, but on Linux/macOS the system library is libgdiplus.so/.dylib and the .NET native-library loader does not map gdiplus.dll to it — so the annotation tools failed on non-Windows (including inside the Docker image) with DllNotFoundException: Unable to load shared library 'gdiplus.dll', even when libgdiplus was installed. The resolver intercepts that load and points it at the real libgdiplus; it is a no-op on Windows.
Migration / impact
Drop-in replacement for 26.7.0. No tool-name, input-schema, or response-shape changes. Fixes Linux/macOS runs that previously threw the gdiplus.dll error. libgdiplus must still be present (Docker installs it; native users install per the README).
Full Changelog: 26.7.0...26.7.1