Unable to add app.config file in Visual Studio 2017?

Gopaal Sharrma picture Gopaal Sharrma · May 4, 2018 · Viewed 8k times · Source

Working in Visual Studio 2017; I have added a class library in my project. Now I want to add an app.config file.

When I try to add by "Add new Item" but config file is missing from item list.

How can I do it?

Answer

Rafael picture Rafael · Aug 12, 2018

You probably forgot to install workload .NET desktop development.

Go to installation, click to modify and include the workload .NET desktop development.

Check image of installation screen