navcontainerhelper
navcontainerhelper copied to clipboard
Please provide config for `$dotNetSharedFolder` used by New-BcCompilerFolder.ps1 (et. al.)
Describe the issue
The variable is the location that an addition copy of DotNET may be download to if the installed version is "not usable", currently always created below the compiler path:
$dotNetSharedFolder = Join-Path $dllsPath 'shared'
Please add an actually shared path in $bcContainerHelperConfig so that this does not have to be downloaded every time a compiler folder is created.
Note that it would be reasonable to assume it's good even if it's an empty directory as that's the user's problem.
It would also be reasonable to use the max-min version and default to downloading it under \bcartifacts.cache\shared.
Scripts used to create container and cause the issue
New-BcCompilerFolder $args
Full output of scripts
Additional context
- does it happen all the time?
- Yes, iff the installed DotNET is " not installed/cannot be used".
- did it used to work?
- No.