I have a bunch of C++/CLI projects and the need is to Strong name/Sign them, so that they can be pushed to the GAC.
I have done the following, I use VS2013.
1. Generated the *.snk file using the SN.exe utility.
2. In the C++/CLI project's property setting, I have set the Key file attribute in the Linker->advanced page, to the snk file generated in step 1.
3. Created a post build event to sign the assembly using the command line Sn -Ra [Assemblyname] [Snkfilename].
After the three above steps, I built the project. I tried pushing the recently built DLL to GAC using Gacutil, only to see the error "[AssemblyName] doesn't represent a strongly named assembly". I believe the DLL was not signed properly.
Please let me know, if I am missing any step here.
Also, I read about using the AssemblyInfo.cpp file, have no clarity on their usage. Any help on the matter is appreciated.
Thanks,
DD