问题描述
我被要求在单个exe中创建一个解决方案 - 使用C#.NET 3.5。
我有发现我可以让ILMerge创建我所有的
应用程序集的单个exe。
但我的问题是如何处理settings / config?
我有一些设置应该是设置应该在应用程序的
实例之间共享,但这些设置可以由用户更改
加班。
这就是我不会使用注册的原因 - 让用户在首次运行时指定设置
。
提前致谢。
Lars
Hi,
I have been asked to create a solution in a single exe - using C# .NET 3.5.
I have found that I can us ILMerge to create a single exe of all of my
Application assemblies.
But my question is what to do about settings/config?
I have some settings should be settings which should be shared between
instances of the application but these settings could be changed by the user
overtime.
This is why I would not use the registy - let the user specify the settings
at first run.
Thanks in advance.
Lars
这篇关于单个执行 - 无安装程序 - 存储设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!