使用 wpf 将 dll 合并为单个 .exe [英] Merging dlls into a single .exe with wpf

查看:33
本文介绍了使用 wpf 将 dll 合并为单个 .exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在处理一个我们有很多依赖项的项目.我想将所有引用的 dll 编译到 .exe 中,就像您对嵌入式资源所做的一样.我尝试过 ILMerge 但它无法处理 .xaml 资源.

I'm currently working on a project where we have a lot of dependencies. I would like to compile all the referenced dll's into the .exe much like you would do with embedded resources. I have tried ILMerge but it can't handle .xaml resources.

所以我的问题是:有没有办法将具有多个依赖项的 WPF 项目合并到单个 .exe 中?

So my question is: Is there a way to merge a WPF project with multiple dependencies into a single .exe?

推荐答案

.NET reactor有合并程序集的特点,而且成本不是很高.

.NET reactor has the feature of merging the assemblies and its not very expensive.

这篇关于使用 wpf 将 dll 合并为单个 .exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆