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

Whats the difference between abstract factory pattern and factory pattern?

1073


What is a SESSION and APPLICATION object?

1096


What is connection pooling and how to enable and disable connection pooling?

1075


What is content place holder?

1031


Which is faster viewdata or viewbag?

1051


What is directive in asp net?

1066


How can u debug your .net application?

1122


Explain the use of view state?

1067


What are main return types supported in Web API?

1469


What are the new web part controls in asp.net 2.0 ?

1107


How to deploy/publish webservices?How many ways?Plz explain me

2324


Can you use Web API with ASP.NET Web Form?

1204


Give a few examples of page life cycle events.

1164


Define dll hell?

1139


What is slidemaster?

1002