When I import a COM assembly (dll) in to a Visual Studio project by adding it as a reference I can use the generated equivalent common language runtime assembly without issue.
However if I try and convert the same COM assembly into a common language runtime assembly using tlbimp I run in to all kinds of problems.
Is there a way to replicate the settings that Visual Studio uses with tlbimp? Or to put it another way, is there a way to generate the same interop class as visual studio does by using tlbimp?