开发者

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

开发者 https://www.devze.com 2023-03-23 10:50 出处:网络
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

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

精彩评论

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