InfoBytes: Equivalent of regsvr32 in .Net?
Reply
![]() |
|
From:
![]() ksnaveen
|
What is the equivalent to regsvr32 in .NET? Where you once used Regsvr32 on unmanaged COM libraries, you will now use Regasm on managed .NET libraries.
"Regsvr32 is the command-line tool that registers .dll files as command components in the registry"
"Regasm.exe, the Assembly Registration tool that comes with the .NET SDK, reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently. Once a class is registered, any COM client can use it as though the class were a COM class. The class is registered only once, when the assembly is installed. Instances of classes within the assembly cannot be created from COM until they are actually registered." If you want to register an assembly programmatically, see the RegistrationServices class [http://msdn.microsoft.com/library/default.asp?url=""> and ComRegisterFunctionAttribute http://msdn.microsoft.com/library/default.asp?url="">
-- Thanks & Regards Naveen K S Microsoft MVP.Net | India Community Star | MCAD.Net Asst Convener CNUG DAM www.ksnaveen.blogspot.com http://www.microsoft.com/india/mvp/indiamvp.aspx http://groups.msn.com/CNUG-DAM # To Succeed "Be Different, Be Daring And Be THERE First" #
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|