I have gotten quite far in strong naming my assembly but still yet to include it somehow within the source code.
All of the tutorials out there are for C# which should plausibly be the same, however, I am not finding a file in my
source code where I can insert the .snk file.
What I did so far.
I opened up Visual studio dev cmd [ADMIN]
Code:sn -k rsgkey.snk // Generates a key pair for the strong name key file you just created
Code:sn -p rsgkey.snk public.snk // Public key written to public.snk (creates new public key file)
I executed all these commands and they were all successful, the point I am at now is that there is a fileCode:sn -tp public.snk // Gets the public key and token
in C# projects called the
AssemblyInfo.cs
// a class file to store information about the assembly.
My question is if there is an equivalent file, and what are the later steps. The msdn doesn't talk about it.
LINKS:
https://docs.microsoft.com/en-us/dot...med-assemblies
https://docs.microsoft.com/en-us/dot...-a-strong-name
https://docs.microsoft.com/en-us/dot...ivate-key-pair
I am doing this so my EXECUTABLE file isn't popping up saying unknown publisher and appears like a virus because
its not signed with a reputable digital signature provider like verisign.




Reply With Quote
