Hi Experts,
Can I add 'App.config' for ClassLibrary type of project? Is that allowed? I have added it for my ClassLibrary project and it is returning me null values. I read somewhere that 'App.config' is only for ConsoleAplication and not for ClassLibrary project. Is that true? If true, what is alternative here, where should I give configuration setting of ClassLibrary project.
Thanks and Regards,
Rohit Pol
Loading

Sam HobbsRank #107 · 20.5K reputationPosted Apr 15, 2012, 1:55 PM EDT
Sujeet Singh135 reputationPosted Dec 17, 2017, 10:00 PM EST
VulpesRank #55 · 29.2K reputationPosted Apr 15, 2012, 6:05 AM EDT
Just go to the Project Menu, click Add New Item, select Application Configuration File and click the Add button.
An App.config file should then appear in Solution Explorer.