What is Regasm.exe?

September 10th, 2007 by uCertify Leave a reply »

Assembly Registration (Regasm.exe) is a tool used to read the metadata within an assembly. It also adds the necessary entries to the registry allowing a COM client to create .NET Framework classes. Once a class is registered using Regasm.exe, a COM client can use it as a COM component. Following is the syntax for using Regasm.exe: regasm assemblyFile [options] where, assemblyFile specifies the assembly that is to be registered with COM and the term options specifies the options to be used. Following are the options that are commonly used with Regasm.exe:

Option Description
/codebase It is used to create a codebase entry in the registry.
/regfile It is used to generate a specified .reg file, containing the required registry entries, for the assembly.
/silent or /s It is used to suppress the display of success messages.
/unregister or /u It is used to unregister creatable classes.
/tlb It is used to generate a type library from a specified assembly.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
  • Share/Bookmark
Advertisement

1 comment

  1. pedrumj says:

    where are we supposed to write the code?? Could you please give an example

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.