Hi
I have selected Windows Form Application. How to add App.config file. I am using Visual Studio 2022 Community edition
Thanks
Hi
I have selected Windows Form Application. How to add App.config file. I am using Visual Studio 2022 Community edition
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sangeetha SRank #212 · 11.4K reputationPosted Dec 11, 2024, 12:02 AM EST
Add the App.config File:
App.config(it should automatically suggest this name) and click Add.Edit the App.config File:
App.configfile and add your configuration settings as needed. The file is in XML format, so you can define connection strings, app settings, and more.Save and Build: After adding your settings, save the file and rebuild your project to ensure the configurations are applied