I am developing a c# .net console app and have this line in the app.config:
I created the App_Config folder both in the app root folder as well as debug folder, but I get a runtime error not finding the file:
"...configSource attribute must be a relative physical path"
trying to find the file from the drive root: c:\\App_Config...!
Is there a way to create token variables in app.config and reference them like: $(App_Config) and secondly make that a relative path of your app?
Appreciate any insight into this,
Kopel
EamonnPosted Jul 28, 2009, 5:14 AM
http://msdn.microsoft.com/en-us/library/ms254494(VS.80).aspx
"In the main application configuration file, you use the configSource attribute to specify the fully qualified name and location of the external file. This example refers to an external configuration file named connections.config."