Help on assembly strong naming ??

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
 
M

mota

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top