Hello,
I'm trying to set up my ExcelDAN based add-in so that it will act according to the following config settings:
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
</configuration>
The trouble is I'm not permitted to modify the excel.exe.config on end user machines.
I did some investigation into the ExcelDNA C++ code and found a mechanism which appears to allow me to supply a config alongside my xll instead. The code (ExcelDnaLoader.cpp) is commented thus: "// Check if a .config file exists next to the .xll as MyAddIn.xll.config. Use it if it exists.".
But putting the config I want in this file does not work for me - the settings are ignored. I've stepped through the ExcelDNA code and am satisfied that the file is being read. Please can you advise me on this problem.