How do you register a .NET assembly?

Answers were Sorted based on User's Feedback



How do you register a .NET assembly?..

Answer / srikanth

Using Regasm.exe tool

Is This Answer Correct ?    2 Yes 0 No

How do you register a .NET assembly?..

Answer / lavanya

first step is to create a strong name for your assembly by
using the sdk tool named sn and then using the regasm tool
to register the meta data into the registry.

Syntax:

To create a key pair

sn –k myKey.snk

To sign the assembly with a strong name using attributes

[assembly: AssemblyKeyFileAttribute(@"..\..\key.snk")]

To sign the assembly with a strong name using assembly
linker

al /out:MyAssembly.dll MyModule.netmodule /keyfile:myKey.snk

Is This Answer Correct ?    3 Yes 1 No

How do you register a .NET assembly?..

Answer / saiish bhat

To register an assembly : Regsvr32

Also you can use GacUtil.exe tool

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

extensibility in asp.net2.0

0 Answers  


Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process?

1 Answers   Patni, Perot Systems, Sedna Technology,


How can we identify that the Page is Post Back?

0 Answers  


Which dll handles the request of .aspx page?

0 Answers  


What does postback mean?

0 Answers  






When we use cookie less session? Explain its working?

0 Answers   Sans Pareil IT Services,


Write code to send e-mail from an asp.net application?

0 Answers  


Explain the asp.net mvc folder conventions? : asp.net mvc

0 Answers  


When does a session actually start?

0 Answers  


what is clr . how we access them?

3 Answers   TCS,


What is a ashx file?

0 Answers  


Diff B/W user control and server control

3 Answers  


Categories