I have created a xll addin using ExcelDNA so that it can be easily written in C#.
I also have a VSTO and I want the VSTO to Register the xll file, so that I can use the custom functions when the user is using the VSTO plugin for excel.
This is what is written in the Addin startup method:
Application.RegisterXLL(@"SMPXLL.xll");
It would work if I wrote the absolute address of the .xll file. However, I want it to be a relative address. I just don't know what the file is relative to.