Help on assembly strong naming ??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

I have set my assembly to be sign as follow :

<Assembly: AssemblyKeyFile("mykey.snk")>

mykey file is located in the bin floder
When compiling my assembly, it cannot locate the key file, same thing if I
place the file at the same place as my project file.

The only way to compile properly is to set the full path as follow :
<Assembly: AssemblyKeyFile("E:\my test\ServerComponent\mykey.snk")>

Any ideas, how to set it for using relative path and where to copy the kex
file ?

regards
serge
 
You can set it in VS05 project properties. If you have your key in bin
directory use "..\\keyfile.snk", path is relative to current directory
(where your .exe is).
 
Back
Top