Wrapping COM reference in a .Net project using (tlbimp)Type Library Importer

Change build action, modify csproj file, <WrapperTool>tlbimp</WrapperTool>

Primary: Use this wrapper tool when you want to use an already generated primary interop assembly for the COM component. When you use this wrapper tool, do not specify a wrapper output directory because that will cause the task to fail.

TLBImp: Use this wrapper tool when you want to generate an interop assembly for the COM component.

AXImp:Use this wrapper tool when you want to generate an interop assembly for an ActiveX Control.