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
Explain how to prepare culture-specific formatting in .net.
What is the purpose of master page?
How to use a Master Database in Asp.net?
What events will occur when a page is loaded?
What are the different types of Caching techniques in ASP.NET?
What is web router?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is asp.net web application?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
Define repository pattern in mvc.net? : asp.net mvc
How to turn off cookies for a page?
Name the namespace which is used by ado.net?
Why SessionID changes in every request in asp.net?
Define a multilingual website?
What are the differnt types of handler in ASP.NET?