Closed vibhor-github closed 6 months ago
I'm also having issues when calling .Parse(string html) The error I receive is: 'System.InvalidProgramException' Common Language Runtime detected an invalid program.'
This started to occur when updating my app from .NETCore3.1 to .NET8.0
Hi, I have published a new version 2.4. It supports natively .NET 8.0 now
Hello.
I've updated my project with the latest package, it working again.
Thx alot man!
We are migrating existing console app based on .net framework 4.6.2 to .Net 7.0. Existing app is using HtmlToOpenXml 1.6.0 version without any issues. We updated the HtmlToOpenXml version in latest .Net 7.0 app but getting compatibility issues. Please advise how to use HtmlToOpenXml dll (either 1.6.0 or latest 2.3.0 version) with .Net 7.0 console app without any compatibility issues.
Refer below the Function where we are using HtmlToOpenXml library. private static void FindBookmarksAndReplaceWithHtml(WordprocessingDocument document, string bookmarkName, string html, DocumentPart partType, MainDocumentPart part, RunProperties runProperties = null, ParagraphProperties paragraphProp = null, bool persistParagraphStyle = true, bool resetEnd = false, bool removeOnlyBookMark = false) {