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
How many types of file extensions for razor views in ASP.Net MVC?
What does asp in asp.net stand for?
Describe session handling in a webfarm, how does it work and what are the limits?
Can you explain one critical mapping? Performance issue which one is better?
What websites use asp.net?
What is the difference between a cookie and a pixel?
What is asp.net mvc? : asp.net mvc
Name the tools or API for developing or testing web api?
Where can I get information on cookies in asp.net?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
Why do we need Sessions?
Explain the difference between panel and groupbox classes using .net?
How to manage different kinds of sessions in ASP.NET?
Why viewstate is used in asp.net?
What does asax stand for?