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
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.
What is state management in asp.net with example?
Name the namespace which is used by ado.net?
What is the difference between page-level caching and fragment caching?
Can user control be stored in library?
What is a server farm in iis?
What is the benefit of WebAPI over WCF?
Can the unique key be null?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
What do you mean by query string?
What is web api and why to use it?
What is the use of asp.net web api?
What are the events in a page life cycle?
How will you do Redo and Undo in a TextControl?
How can I configure asp.net applications that are running on a remote machine?