locked
Regasm.exe no target to Framework 4.0 / Error No compiling Library x64 com visible tlb RRS feed

  • Question

  • Regasm.exe no target to Framework 4.0 / Error No compiling Library x64 com visible tlb

    Hi, in visual studio 2008 to create a C# library as x64 COM Visible(.tlb) was not possible. I have to use Regasm.exe tool to create the .tlb

    In VS2008 I uncheck the Register for COM interop , then do a:regasm "c:\e\Example.dll" /tlb:Example.tlb /codebase to create the .tlb file

    Now If I target the framework 4.0 in VS2010 is doing the same error like VS2008

    Then try to use regasm.exe tool but it not recognize the 4.0 framework.

    Could you please fix this error and also provide a regasm.exe that target 4.0 framework,

    Thanks.


    Diegolo
    Thursday, April 15, 2010 1:23 AM

Answers