I am trying to add intellisense to my UDFs and I was advised to try excel-dna. It has me install Visual Studio and create a project. I followed the instructions here: https://excel-dna.net/docs/getting-started .
The result is that, in Visual Studio, it opens Excel when you hit F5, and in Excel, you can use the function. The only problem is that the function is no longer available when you close Visual Studio.
I tried publishing in a folder on my desktop and it creates some files including two dlls, one for excel-dna and the other with the test program. However, I cannot add it as an add in Excel the same way that I can add the xlam file from using the built in VBA in Excel.
Also the intellisense in the example doesn't actually work. What are my next steps?