Application Configuration Files and C# Projects

Problem
You want to control how the common language runtime (CLR) locates and loads assembly files.

Solution
Use the Add | New Item… command to add an application configuration (app.config) file to the current project.

Comments
You should always add an app.config file to your project. When you build the project, Visual Studio will copy the file to the output directory, and you won’t have to create it manually.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s