Use of relative path in assembly info????

  • Thread starter Thread starter serge calderara
  • Start date Start date
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
 
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
 
Back
Top