The .xll.config files should work fine, making you need to make sure they are copied to the output directory with the right name.
Visual Studio and the Excel-DNA build task can be a bit quirky about this.
You need to check that the name and extension and everything line up.
I see there is a sample project (with a somewhat old version of Excel-DNA) here: Samples/Logging at master · Excel-DNA/Samples (github.com)
You can try that, or else you can make or share your own problem sample project on GitHub or elsewhere and I’m happy to check.
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/458c4df7-74a9-4aaf-a0db-b69654f6a278n%40googlegroups.com.
If the file that is loaded into Excel is called
then you need
It should work if you add a file to your Visual Studio project called “App.config” and make sure it is marked as
Build Action: None
Copy to Output Directory: Do not copy
Such a file is picked up by the Excel-DNA build task, and copied with the right names in the output directory.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/18180210-3c35-4b3e-8986-426721c9e18cn%40googlegroups.com.