Strong Naming An Assembly - Part 3
Strong Naming An Assembly - Part 3
Strong Naming An Assembly - Part 3
You can specify all the values or you can default the Revision and Build
Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.1.*")]
The key file with name KeyFile.snk should be generated in the C: drive. In
SN.exe, SN stands for Strong Name. Key files have the extension of .snk
If the assembly is not signed with private/public key pair, the assembly is weak
named and not guaranteed to be unique, and may cause DLL hell. Strong named
assemblies are guaranteed to be unique and solves DLL hell. You cannot install
an assembly into GAC unless, the assembly is strongly named.
In the upcoming notes we will discuss
1. What is GAC. How and when to install an assembly into GAC?
2. What is DLL HELL?
3. How is DLL HELL solved with .NET?