views:

55

answers:

2

I want to store the connection string and some parameters in app.config file which we generaly do for windows aplication but I can't find app.config file for console application. So how should I use this file, how to add this file or there is some other work arroud for the same functionality. I am working in console application

+2  A: 

alt text

source: http://blog.nickgravelyn.com/2010/02/visual-studio-2010-xna-and-you/

Adeel
I can't use Online Templates for adding this file, I don't have permissions as well as any option for this.Also I know how to use online templates but I don't have any option for adding this file
Nits
@Nits - This is not an add-in, it's been in visual studio since day 1. It has nothing to do with the fact you are using a console app. The answer is correct. +1
RPM1984
I don't have Online Template option in my VS, I am sure about this.
Nits
Online Templates isn't selected in that screenshot, it just looks a bit like it is. What's actually selected is "Visual C# Items", with the lighter gray background.
Rob
+6  A: 

Hello ,

Right click on application->Go to Add->you will see the exact picture What i have attached here->Pick the Application Config File.alt text

PrateekSaluja