简体   繁体   中英

make use of the snk file

Whatever I download, source code, eg NHibernate, or .dll file, eg NHibernate.Caches.SysCache, there are the .snk file.

What does this mean?

For source code, I just delete the snk file and compile them directly, it works. But is there anything I do wrong? I don't use the snk file.

For dll file, I found problem on version.

Assemblies can be assigned a cryptographic signature called a strong name, which provides name uniqueness for the assembly and prevents someone from taking over the name of your assembly (name spoofing). If you are deploying an assembly that will be shared among many applications on the same computer, it must have a strong name.(msdn)

With snk file included in a project, you can able to generate PublicToken for your dll.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM