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

How can you use a custom controls in ASP.NET application?

0 Answers   Sans Pareil IT Services,


what is satellite assembly in .net?

4 Answers   iSoft,


What is the difference between server-side scripting and client-side scripting?

0 Answers  


What is web.config and machine.config ?

3 Answers   Collabor, NDPL, TCS,


Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?

3 Answers   HCL, NIIT,






after which page life cycle event all properties of control will be "fully loaded "

10 Answers   FactorH,


What are the disadvantages of viewstate/what are the benefits

3 Answers  


Explain the role of global.asax?

0 Answers  


What does the "EnableViewState" property do? Why would I want it on or off?

4 Answers  


Explain how dot net compiled code will become platform independent?

0 Answers  


Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page?

1 Answers  


What is the main difference between a static page and a dynamic page?

2 Answers  


Categories