Excel-DNA/ExcelDna

Assertion Failed on users machine

femimada opened this issue · 8 comments

Assertion Failed on users machine

I am having issues an assertion failure similar to the one here
But the underlying issues are different. In my case I am only trying to register one add-in

Assertion failure
IMG_4562

here’s the developer’s dotnet version
IMG_4564

govert commented

What is the exact Excel-DNA version you are using?

Using version 1.6.0

govert commented

I suggest you try 1.7.0. That should at least give you an error code or better message

govert commented

But I see the problem - the user must have the "WindowsDesktop" version of the .NET 6 runtime installed.

Thank you Govert. I will update the Excel DNA version. Which runtime version is compatible with Excel DNA? My prior understanding is that it is compatible with any .NET 6 runtime.

govert commented

You need the .NET Desktop Runtime of the same bitness (32-bit or 64-bit) as your Excel installation:
image

Thank you Govert. Updating the package was helpful - it provided more useful information regarding the error. The issue was ultimately resolved by using the correct .NET runtime.