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

What is the use of sessionstate tag in the web.config file?

2 Answers  


Explain the use of resource manager class in .net.

0 Answers  


How do you open a page in a new window?

0 Answers  


How do you initiate validation on the server manually? What are two situations when you might you want to do that?

0 Answers  


What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each ?

1 Answers  






What is the application pool?

0 Answers  


What is the difference between Postback and Ispostback Property?

7 Answers   Atrocity Apps Technologies, DC Infotech, HCL, Maples, Visual Soft,


How many webforms are possible on a single webpage?

6 Answers  


What is the difference between page-level caching and fragment caching?

0 Answers  


How Session use Cookies in State Management?

0 Answers  


Where do the cookie state and session state information be stored?

0 Answers  


Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version?

2 Answers   Wipro,


Categories