If you add a file app.config to your project, VS.NET will automatically
create your app.exe.config file in your build directory.

-----Original Message-----
From: Jeff Hughes [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 5:55 PM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] app.exe.config


I am trying to create a .config file for a windows
test application.

I am using

System.Configuration namespace
trying to access northwind and pubs

I am trying to access them by this line of code

strConnection = ConfigurationSettings.AppSettings["northwind"]
how do I name the .config file so it will associate itself with my app

assembly.exe.config
app.config
app.exe.config
<app>.exe.config
<app>.config

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to