I'm a learner about ExcelDNA.According to the example, I make it simple to test the package "FirstAddIn-packed.xll". When I finished it, I import it to excel and no problem and my computer has installed vs2019. Please look at the Images. But when I copy the package "FirstAddIn-packed.xll" to another computer it not work.
hope you reply. thank you very much.
My computer:
How to use xll package at other computer
177 Views Asked by ericsjz At
1
I am not sure why it works on your machine. In the background I see that your library is built to target .netstandard 2.0. This is not yet supported by Excel-DNA. You should make a new class library that targets .NET Framework, and then install the ExcelDna.AddIn package. You must also be using the packages.config style NuGet integration, and not the newer PackageReference style.
If you do all of that, it should work both on your machine and others.