Help regarding Strong Names

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi

I'm working on a project that contains some dlls, services exes written in
C# and these dll's using references of some COM's written in VC++ and some
external win32 dlls that I dont have the code of. I'm trying to assign
strong names to these projects as a first step to secure my code. I created
an snk file using SN.exe and compiled one of the dotnet project with this
snk file given in its assemblyinfo.cs file. It generate many errors like

"Assembly generation failed, refrenced assembly does not have a strong
name."

So I tried to compile all of the dotnet code using thier respective snk
files generated in the same process, but this process halted in projects
where i'm referencing the external win32 dlls and my C++ COMs. Is there
anyway I can convert my C++ code (having no assemblyinfo.cs to give path of
snk file) to strong name and the external win32 dll (whose code I dont have)
so I can compile those projects where these are being referenced in dotnet
code.

Secondly do I need a single snk file for all these projects or seperate snk
file for each one of them talking in terms of security.

Regards

Usman Jamil



.



Relevant Pages