Exported typelib not getting updated C# project RRS feed

  • Question

  • I am exporting DLL to a typelib(.tlb) using

    "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe" $(TargetDir)Project.dll /tlb:com.Project.tlb /codebase

    It is getting registered succesfully.I look in typelib using liewiewer,all method declaration was proper.

    But if I add any new method in DLL project and rebuild/clean .tlb file seems to be not getting updated with newely added methods.

    Please let me know what I am missing?
    Friday, June 10, 2011 8:18 AM


  • did you added a new type / method? Is the new method you added is public?

    You may have ComVisible(false) at class level and making the same to true at member level.

    MSN Com Visible Help

    • Proposed as answer by Krishnav Friday, June 10, 2011 6:44 PM
    • Marked as answer by Lie YouModerator Friday, June 17, 2011 10:07 AM
    Friday, June 10, 2011 6:43 PM