Use of relative path in assembly info????

S

serge calderara

Dear all,

I ma update my assembly information and one of this
information is the path to the registration key file.

I have noticed that you need to provide the full path for
the key file, thats a bit enoying if you different people
are working on the same project becasue drive mapping can
be different.

is there the possibility to place relative path for the
key file in assembly info like as following?

<Assembly: AssemblyKeyFileAttribute
("..\UserManagement\sgKey.snk")>

thanks for your information
regards
serge
 
M

Michael Giagnocavo [MVP]

That's what I do. Depending on the compiler, you need to put more ..\
in. For instance:

C:\Projects\MyProject contains the code and the key, and is the
project root. In C#, you should include ..\..\ I believe. In VB it's
only ..\. Or maybe the other way around. Experiment. :) I think
it's signed from the obj or bin directory, so escape as necesary.

-mike
MVP
 

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