I recently watched Govert's YouTube video on "
Excel-DNA in Perspective" and I'm trying to understand the difference in how he created the add-in project in that video versus how it was explained in the instructions he recommended on the Excel-DNA website on the
introduction page at this
link.
In the instructions at the link, it basically explained two methods:
1) Create an add-in by placing your code in a text-based file with the "*.dna" extension (a DNA file) and combining it with one of the Excel-DNA XLL files.
2) Create an add-in using Visual Studio and then import one of the Excel-DNA XLL files, place your code in various .NET forms, class, modules, etc.. that is compiled to a DLL file, and last create a text-based file with the "*.dna" extension that points to that DLL file.
However, in the video he created the project in Visual Studio and then used NuGet manager to setup the add-in. It didn't use one of the Excel-DNA XLL file as far as I could see. It also had a few other slight differences as well (e.g. didn't set the DNA file "Copy to Output Direct" property to "Copy always" or "Copy if newer").
Why the difference?
Which approach is better/recommended?
What happened to the Excel-DNA XLL file in the NuGet method?
So many questions =)
Really just trying to understand why the different approach and which one is recommend or the most recent approach (maybe the instructions at the link are old??).
Thanks!