Could you perhaps post a small test example to GitHub that works with .NET Framework 4.8, but fails with .NET 8.0 ?
That would be a good start to debugging the issue.
-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/exceldna/397a895c-cb3a-453d-87fa-e21c3e3b559an%40googlegroups.com.
Hi Miguel
I’m sorry I’ve not come back to you.
I downloaded your code and saw the first chance exceptions when I first ran it.
However, after that I could not see those messages when I ran it again …?
I don’t know whether I changed some VS settings that changed the exception display.
Are the FirstChanceExceptions from inside the Azure libraries the particular thing that is bothering you, or are there functional problems?
Excel-DNA does try to isolate the add-in using an “AssemblyLoadContext”. This sometimes causes issues when loading libraries or code like WPF, and then needs a ‘contextual reflection context’ to work right. But this does not sound like your issue, and is not related to async execution.
It might be useful to make a console app that makes similar calls and see if you have the same behaviour.
That would eliminate Excel-DNA and the Excel / add-in environment as variables.
To view this discussion visit https://groups.google.com/d/msgid/exceldna/13ea2658-2137-480f-9233-424c998fd9ebn%40googlegroups.com.