Search code examples
c#dllinteropcomponentsdllregistration

adding a new component and what is Interop.dll file?


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...


Solution

  • 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.