Closed TJMicroPower closed 6 months ago
DEBUG
RELEASE
3.1.2
OfficeIMO.Word 0.5.0
windows server 2019; windows 10
8.0
dotnet 8.0,OfficeIMO.Word Call paragraph.AddImage(image, 160, 160);Error:Method not found: 'SixLabors.ImageSharp.Image SixLabors.ImageSharp.Image.Load(System.IO.Stream, SixLabors.ImageSharp.Formats.IImageFormat ByRef)'.
var image = Path.Combine(imagePaths, imageName.Split('\')[1]); paragraph.AddImage(image, 160, 160); paragrapha is OfficeIMO.Word.WordParagraph
You're attempting to use a major version of ImageSharp that differs from the version (v2.1.3) bundled with OfficeIMO.Word
https://www.nuget.org/packages/OfficeIMO.Word#dependencies-body-tab
Prerequisites
DEBUG
andRELEASE
modeImageSharp version
3.1.2
Other ImageSharp packages and versions
OfficeIMO.Word 0.5.0
Environment (Operating system, version and so on)
windows server 2019; windows 10
.NET Framework version
8.0
Description
dotnet 8.0,OfficeIMO.Word Call paragraph.AddImage(image, 160, 160);Error:Method not found: 'SixLabors.ImageSharp.Image SixLabors.ImageSharp.Image.Load(System.IO.Stream, SixLabors.ImageSharp.Formats.IImageFormat ByRef)'.
Steps to Reproduce
var image = Path.Combine(imagePaths, imageName.Split('\')[1]); paragraph.AddImage(image, 160, 160); paragrapha is OfficeIMO.Word.WordParagraph
Images