Contact Form

Name

Email *

Message *

Follow on LinkedIn
Image

How To Add app.config To C# Project in Visual Studio

Manually Adding App.Config File in C# Windows Forms Application, Visual Studio IDE

If you're making Windows Forms App with C# programming language in newer version or Microsoft Visual Studio IDE, then you need to add "app.config" file manually.

In the older version of Visual Studio, it used to be auto generated when you create C# Windows Forms App.

Follow these steps to add app.config file

To add an application configuration file to a C# project:

1. In Solution Explorer, right-click the project node, and then select Add > New Item.

The Add New Item dialog box appears.

2. Expand Installed > Visual C# Items.

3. In the middle pane, select the Application Configuration File template.

4. Select the Add button.

A file named App.config is added to your project.

Create App.Config File in Visual Studio C# Project
Create App.Config File in Visual Studio C# Project

Some FREE C# Software Development Courses

1. Billing System with C# and MS SQL Server

2. Blood Bank Management System with C# and MS SQL Server

Comments