--------------------------------------------------
Excel-DNA is now registered on GitHub Sponsors.
Your small monthly contribution will directly fund further development.
--------------------------------------------------
Hi Krishna,
I think you need the “.NET 6 Desktop Runtime” installed on the client. I don’t think the plain .NET Runtime is enough.
This also needs to be the 32-bit or 64-bit version that matches your Excel installation.
We try to check for errors at startup and give a sensible message, I’m pretty sure this works if there is no .NET 6 runtime installed.
But there might be some extra cases, like if the plain runtime is installed, but not the “Desktop Runtime”.
I’ve added an issue on Github to review this a bit - Review startup error handling · Issue #627 · Excel-DNA/ExcelDna (github.com)
What version of Excel-DNA are you checking?
I think the latest pre-release versions 1.7.0-rc4 are better at this than version 1.6.
I should add that this was an aspect of .NET 6 that is not great, and Microsoft have improved a bit for .NET 7 (though that does not help us, at least you can see the considerations). See here: Improving .NET host error messages and supportability - .NET Blog (microsoft.com)
To answer your questions:
-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 on the web visit https://groups.google.com/d/msgid/exceldna/a71a5974-fc9c-4282-8561-144acf576f30n%40googlegroups.com.