需要 msbuild 任务来合并 app.config 文件

发布于 2024-09-15 06:38:02 字数 52 浏览 2 评论 0原文

有谁知道如何将 app.config 文件合并为一个 app.exe.config 文件?

Does anyone know how to combine app.config files into one
app.exe.config file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

习ぎ惯性依靠 2024-09-22 06:38:02

您能给我们更多数据吗?

无论如何,如果您使用 Tigris 任务,Tigris 是一个带有有用的附加任务的自定义库(http://msbuildtasks.tigris.org) 您可以使用新任务合并

合并将文件合并到目标文件中。

您可能会发现TemplateFile任务也很有用(具体取决于您的需要),该任务允许您从模板创建app.exe.config文件,更改一些内部变量。

Could you give us more data?

Anyway, If you use Tigris tasks Tigris is a custom library with useful additional tasks(http://msbuildtasks.tigris.org) you can use new task Merge

Merge Merge files into the destination file.

You might find useful (depending of what you need exactly) too TemplateFile Task that allows you to create a app.exe.config file from a template changing some internal variables.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文