
Hi Brian
What version of .NET is your add-in targeting?
I don’t think the diagnostics configuration works with .NET 6, so you’d be stuck with the defaults in that case.
I suggest you try the latest pre-release version 1.7.0-RC7 of Excel-DNA.
We tried to clean up the API call which causes this problem during shutdown, and I’d be curious to know if you still experience this message with the current version.
-Govert
Brian
--
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/766a3256-0afb-42a4-82df-fc43c718a0b5n%40googlegroups.com.
> I'm targeting .NET 4.7.2.
In that case I do expect the configuration to work.
Can you confirm that the .config file has the right name matching the .xll file “MyProject-AddIn.xll.config” or “<MyProject-AddIn64.xll.config”, is located nect to the .xll file, and what the contents of your .config file is?
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/723e396a-41a2-4196-b353-415c13da41cbn%40googlegroups.com.
Put the file in your project as “App.config” and set the Build Action to the right setting (I think “None”) and Copy to Output “false”.
Then the build should make .config files in your output matching the different .xll files in the output.
Then the packing will pack the .config file (you can see this clearly in the build output from the packing step).
At runtime, a loose file with correct name next to the .xll file can be used to override the packed .config file.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/ab3dce56-2eb2-4f18-ab01-bfc6ad1bbcben%40googlegroups.com.
Hi Brian,
> That seems like a lot of release candidates haha
I have become incapable of writing the release notes needed to make a ‘real’ release, so all versions are pre-release for now.
1.7.0-rc7 is the best Excel-DNA version, and 4.7.2 is the best .NET version.
I might give up and just make it a final release real soon.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/f8066f71-d3a5-4db6-9fdf-9516800a9392n%40googlegroups.com.