How do you register a .NET assembly?
Answers were Sorted based on User's Feedback
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 |
Answer / saiish bhat
To register an assembly : Regsvr32
Also you can use GacUtil.exe tool
| Is This Answer Correct ? | 1 Yes | 0 No |
How to save Link of a Webpage in excel sheet?
What is caching? Explain.
Explain the use of errorprovider control in .net?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
What's the ASP.Net Application life cycle?
What are different types of api?
What is the difference between cache and cookies?
What is difference between view and partial view?
Explain the overview of asp.net?
What is DTS package?
what are the ways to improve performance in .net application?
How does session id work?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)