I have little enough hair left as it is and everything on the net implies this is possible, so before I pull out the little remaining......
I have 2 config files.
1. Standard application.exe.config
2. Separate file which I want to call Mappings.config.
The Standard one works fine.
When I try to OpenExeConfiguration on the Mappings .config, which is copied to the build folder correctly, it seems that the system is adding another .config to the file name,such that the System.Configuration.Configuration object generated by the OpenExe... statement has Mappings.config.config as the file name, and 0 entries in the AppSettings.
All I want to do is open "Mappings.config" read some key value pairs exactly as I already do on the standard one.
Have considered using a straight forward text file, but would prefer this method, if I can get it working.
Any ideas?, thanks.
I have 2 config files.
1. Standard application.exe.config
2. Separate file which I want to call Mappings.config.
The Standard one works fine.
When I try to OpenExeConfiguration on the Mappings .config, which is copied to the build folder correctly, it seems that the system is adding another .config to the file name,such that the System.Configuration.Configuration object generated by the OpenExe... statement has Mappings.config.config as the file name, and 0 entries in the AppSettings.
All I want to do is open "Mappings.config" read some key value pairs exactly as I already do on the standard one.
Have considered using a straight forward text file, but would prefer this method, if I can get it working.
Any ideas?, thanks.
Comment