Like I said you cannot use an app.config in a Class Library project as it will not be loaded. You would have to add the COBDATA environment variable to the app.config of the C# main program, or set the environment variable prior to starting the application or within the C# program using something like environment.SetEnvironmentVariable, etc.
↧