Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用创建 word 应用程序的 c# 创建 windows 应用程序的 exe 文件。我的目标是框架 2.0 和 microsoft.interop.words 版本 12。问题是安装了框架 4.0 和 word 2010 的客户端应用程序有 microsoft.interop.words 版本 14。有什么方法可以在不使用外部的情况下将上述 dll 嵌入到 exe 文件中工具或目标以根据安装的框架更正 word dll 版本??
在项目的设置区域中,您可以引用 dll 并将其设置为复制本地,或者您可以将应用程序限制为仅使用 .NET 2.0