I’m running on Ubuntu, with .NET 10 and dotnet-script v2.0.0.
.NET was installed not via package manager, but using the dotnet-install script described in Microsoft’s documentation.
In this environment, when I try to run a script using a relative path that goes up to the parent directory, I encounter an error:
$ find .
.
./bbb
./aaa
./aaa/abc.csx
$ cd bbb
$ dotnet script ../aaa/abc.csx
Could not load file or assembly '/home/ubuntu/.cache/dotnet-script/tmp/work/bbb/../aaa/abc.csx/execution-cache/script.dll'. The system cannot find the file specified.
I don’t recall seeing this error in previous versions.
It may be due to my environment, but I will report the issue for now.