Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET CORE compatibility issue #184

Open
tgranie opened this issue Dec 25, 2024 · 1 comment
Open

.NET CORE compatibility issue #184

tgranie opened this issue Dec 25, 2024 · 1 comment

Comments

@tgranie
Copy link

tgranie commented Dec 25, 2024

Hello,

I'm trying using Html2OpenXml in my ASP.NET application in .NET 7.0 in a get this issue :

System.InvalidProgramException: Common Language Runtime detected an invalid program.
at Penman.Html2OpenXml.HtmlConverter.ProcessHtmlChunks(HtmlEnumerator en, String endTag)
at Penman.Html2OpenXml.HtmlConverter.Parse(String html)
at Penman.Html2OpenXml.HtmlConverter.ParseHtml(String html)

To test I migrate to .NET 8.0, same issue.

Thanks for your help and thanks for this usefull lib !

@onizet
Copy link
Owner

onizet commented Dec 27, 2024

Hello, I just did a test with .net 7.0 and didn't get any issue.

Did you reference this package? <PackageReference Include="HtmlToOpenXml.dll" Version="3.2.2" /> (please note the ending .dll, because the other package exists also but is very old)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants