I wan to use an app.config file for my c# addin.

I have added the key and value under app settings in the file
and my code is referencing them as

keyval = ConfigurationManager.AppSettings["key"];

In the runtime reading keyval is always null

Visual Studio has put my app.config file in projectX in my output folder as projectx.dll.config

what do I need to do to have ConfigurationManager read the projectx.dll.config ?