Skip to content

Deployment options for .Net 6 ExcelDna AddIn #607

Answered by govert
JonTheTurnip asked this question in Q&A
Discussion options

You must be logged in to vote

We don't support the bring-your-own-runtime option of .NET Core, because the add-in isolation mechanism we use (the AssemblyLoadContext etc.) doesn't support that. Because only one version of a .NET Core runtime can be loaded into the Excel process (in addition to the .NET Framework runtime) separate add-ins can't bring their own version of the .NET 6 runtime. So you need a .NET 6 runtime installed on the machine before your add-in can load. This installation does not need admin permissions to do and can be in a directory related to your add-in.

You could make an installer for your add-in that adds the .NET 6 runtime as a prerequisite, for example based on the WixInstaller template here h…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JonTheTurnip
Comment options

Answer selected by JonTheTurnip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants