Script references should be relative instead of absolute
20
votes
![](https://secure.gravatar.com/avatar/5d21fc8bf156982a2a55e5119bb28a2e?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
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.