开发者

C#, where is the App.config come from?

开发者 https://www.devze.com 2022-12-29 06:42 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号