using ConfigurationManager with my own config filename? RRS feed

  • Question

  • I'm trying to create a base class with it's own custom named config file (myFilename.config).  How can I use use ConfigurationManager in another project and read this file?  I know I might have to manually copy the file over, but that's ok.  My main problem is I can't read/open the file.


    Right now I'm trying to use the ConfigurationManager.OpenExeConfiguration(exePath); with the exePath being set to the full path to and including the config filename.



    Monday, February 26, 2007 9:28 PM