开发者

Source code as settings file at runtime where/anywhere application run, without VS

I use Settings.cs as centralized ini-like file. You know C# is a new generation high level language and I wonder does it allow -开发者_开发技巧some how- including source files. In ASPX environment it would be possible, but how about WPF & Winform applications?


You probably want this:

http://msdn.microsoft.com/en-us/library/cftf714c(VS.90).aspx

In visual studio, click on settings.settings under your project in the solution explorer.


You can compile source files at runtime using CodeDom. You can read more about it here: http://support.microsoft.com/kb/304655

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜