I am building an RTD Server for Excel, that is embedding a WCF Service to be exposed to receive data.
I need to register the Assembly DLL using RegAsm (for Excel to see it and use it).
I was wondering if the web.config containing service configuration was “lost” during this operation or was it still referenced “somewhere somehow” by the deployed/registered Service DLL.
I have a doubt because I added system.diagnostics to the config file and the output listener file is not created.
Edit : Solution
creating an Excel.exe.config an putting the config in it solved the issue.
See A Beginner’s Guide to calling a .NET Library from Excel
It’s not ‘lost’ per se – you still have the file 😉
You need to add the configuration information to Excel.exe.config, that’s where the runtime will look for the configuration data.