> how do I name the .config file so it will associate itself with my app
In your project, name the config file App.config. VS.NET will rename it
to .config during compilation, which means for an
executable, it will be called MyApp.exe.config, and for a DLL
MyDll.dll.config.
Note that the XML tag
]] On Behalf Of Jeff Hughes
Sent: Monday, July 15, 2002 2: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
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
> strConnection = ConfigurationSettings.AppSettings["northwind"]
> how do I name the .config file so it will associate itself with my app
Two things:
1) It's not .
B) Name the file app.exe.config if your application is app.exe. Name it
gurgle.exe.config if your application is gurgle.exe.
III) M
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