Unintended package action behavior when not launched from tap.exe

See this example where the OpenTAP assemblies are loaded in powershell:

image

Because C:\Program Files\PowerShell\7\pwsh.exe is the entry assembly, the PackageCache tries to create a cache file in this location when it should be in the same location as OpenTap.dll

Edited by Alexander Nørskov Larsen