visual-studio - 我可以在 exe(在 Visual Studio 中)中包含 dll 吗?

标签 visual-studio dll include release exec

这个问题在这里已经有了答案:




9年前关闭。




Possible Duplicate:
.NET windows application, can it be compressed into a single .exe?



要运行我的应用程序,我需要 AxInterop.WMPLib.dllInterop.WMPLib.dll位于 Debug 和 Release 文件夹中。有没有办法将这些 dll 包含到 exe 中,以便我的应用程序仅在一个文件中可用?

最佳答案

只要您的 DLL 是 .NET 程序集,那么 ILMerge应该能够将您的 exe 及其所有依赖项合并到一个文件中。

关于visual-studio - 我可以在 exe(在 Visual Studio 中)中包含 dll 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/476993/

相关文章:

c# - .cs 文件的 Visual Studio 2015 解决方案资源管理器中的点文件图标是什么意思?

regex - 使用正则表达式替换字符串以将 ltr 填充转换为 rtl

python - 在 Python 包中包含 *.pyd 文件

javascript - 我怎样才能并且应该从不同的文件加载我的 .js 文件以保持清洁?

jsp - 如何在 JSP 文件中包含 Facelets 文件?

javascript - 如何绕过 "Visual Studio Just-In-Time Debugger"提示

visual-studio - 文本编辑器语句上的垂直线

c++ - 如何确定加载我的 DLL 的 DLL 名称(字符串)?

c# - ASPNET 5 项目无法找到在引用的 DLL 中使用的端点配置 (ServiceModel)

从 C DLL/lib 访问 C++ 函数