app.config for a DLL

Hi all,

I'm developing an add-in for Outlook 2003. My output is a DLL file which is hosted by Outlook. I'm using Microsoft Application Block called Updater which needs to read app.config file. The problem is that it gets the Office path and not the dll's.
I tried to set:

AppDomain.CurrentDomain.SetupInformation.ConfigurationFile = @"C:\Temp\AddIn\App.config";

But it didn't help.

Any suggestions

Thanks.



Answer this question

app.config for a DLL

  • Coxy

    Hi,

    DLLs dont accept Config files. I recommend that you add a config file by the name of Outlook.exe.config and place this in the same folder as Outlook.exe. That should work.

    Regards,
    Vikram

  • app.config for a DLL