添加新组件,Interop.dll 文件是什么?
我将一个组件添加到我的项目中,现在该文件位于 ..\bin\Debug
文件夹中 添加:Interop.t1.dll
。 我想制作安装文件 我的项目,因为在 ..\bin\Debug
中创建的互操作文件 ,我不需要担心注册组件(t1), 这是真的吗?如果我应该做更多的设置任务,请 指导我。非常感谢...
I add a component to my project and now in ..\bin\Debug
folder this file
is added:Interop.t1.dll
.
i want to make setup file for
my project ,because of Interop file that is created in ..\bin\Debug
,i don't need be worry about registering the component(t1),
is it true?if i should do more task for making setup ,please
guide me.thanks alot...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您已将 COM 组件添加到您的项目中。 IDE 自动为其生成互操作程序集。是的,您需要将该 DLL 与 EXE 一起部署。然而,更大的努力是确保该 COM 组件也部署在目标计算机上。如果这不是任何 Windows 计算机上可用的 COM 服务器之一,您将需要供应商的安装程序。 “t1”听起来当然不像标准的。
You added a COM component to your project. The IDE automatically generated the interop assembly for it. Yes, you'll need to deploy that DLL along with the EXE. The greater effort however is in making sure that this COM component gets deployed on the target machine as well. You'll need the vendor's installer if this is not a one of the COM servers that are available on any Windows machine. "t1" certainly doesn't sound like a standard one.