Closed
Description
Because the default cache location for on my linux build server is readonly, I have to set DOTNET_SCRIPT_CACHE_LOCATION
If I use
mkdir _cache
export DOTNET_SCRIPT_CACHE_LOCATION=_cache
dotnet script somescript.csx
I get a project file not found
error as, I think the working directory gets incorrectly combined into a non-existent path (sorry I don't have the example to hand).
I can work around it by writing:
mkdir _cache
export DOTNET_SCRIPT_CACHE_LOCATION=$(pwd)/_cache
dotnet script somescript.csx
Metadata
Metadata
Assignees
Labels
No labels