CSharpRepl
CSharpRepl copied to clipboard
#load used in provided .csx cannot find file
Version
last
What happened?
Having a.csx with
#load "b.csx"
and arbitrary b.csx within same location as a.csx.
Running csharprepl a.csx causes
error CS1504: Source file 'b.csx' could not be opened -- Could not find file.
during evaluation.
It does not matter whether:
a.csxis provided with a relative or absolute path.- Current directory is set to a location of
a.csxor not.
Running a.csx with csi locates b.csx correctly (regardless of current directory).