Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you register a .NET assembly?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

1019


What is state management in asp.net with example?

962


Name the namespace which is used by ado.net?

961


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

975


Can user control be stored in library?

905


What is a server farm in iis?

1044


What is the benefit of WebAPI over WCF?

1019


Can the unique key be null?

1112


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

934


What do you mean by query string?

944


What is web api and why to use it?

1073


What is the use of asp.net web api?

1097


What are the events in a page life cycle?

952


How will you do Redo and Undo in a TextControl?

1190


How can I configure asp.net applications that are running on a remote machine?

1062