Script references should be relative instead of absolute
20
votes
Chris Young
shared this idea
-
Ilya commented
how do relative references to dlls work? I tried editing script.linq file that i have to use relative path
<Reference Relative="..\..\Some.dll">..\..\Some.dll</Reference>but open and then save the script from beta linqpad 2.40.07) i end up with:
<Reference Relative="..\..\Some.dll">c:\full\path\to\Some.dll</Reference>
is linqpad going to use the value in "Relative" attribute if it's available and will ignore the full path value of the element?
-
The recent betas store references as both relative and absolute.