I inherited a simple C# project without a App.config file. I need it now. How should I开发者_如何学JAVA create one? manually or VS 2008 can do it for me?
In VS 2008, right click the project, click Add -> new Item. Find 'Application Configuration File' under Templates. Click 'Add' and your done.
You can do it either way. Right-click the project, select Add New Item, and then click on the Application Configuration item.
Simple.
You can do either; manually create it in the root of the project, or just add it using New Item and choosing application config file.
精彩评论