Running framework 4.8 and net 6.0 add-ins together?

70 views
Skip to first unread message

Philippe Raemy

unread,
Feb 14, 2024, 3:18:25 AM2/14/24
to Excel-DNA
I've got several Excel-DNA based add-ins developped in my company since ~10 years. Of course the oldest ones are based on older dot net frameworks (4.*) and I'm tgrying to bring in a new one using net6.0.
I'm struggling to make them run side-by-side in excel, and the older versions seem to have trouble accessing the excel com layer.
I cannot possibly update all old add-ins to using.
I don't want to give up on the benefits of net6.0 and C# 10.
Has anyone tried trhe smae and faced issues?
If yes, what kind of advice can you give me?

Govert van Drimmelen

unread,
Feb 14, 2024, 3:46:49 AM2/14/24
to exce...@googlegroups.com
Hi Philippe,

I'm very interested to understand what problems you have in this configuration.

I expect it to work fine, and have not seen problems in the (rather limited) tests I've done. I know that Microsoft does not officially support running .Net Framework and .Net Core side-by-side, the only issues known to me relate to debugging and sharing types between runtimes. These are expected and should not impact using add-ins like this.

Could you say a bit more about the problems you see?
Can we work towards some small sample add-ins that test your scenario?

-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/5da70415-dc2c-4525-a4bc-ff0455db0c2en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages