-
-
Notifications
You must be signed in to change notification settings - Fork 766
Failed to install addin when running from Windows powershell.exe #4478
Copy link
Copy link
Closed
Description
Prerequisites
- I have written a descriptive issue title
- I have searched issues to ensure it has not already been reported
Cake runner
Cake .NET Tool
Cake version
latest 5.1 alpha
Operating system
Windows
Operating system architecture
x64
CI Server
No response
What are you seeing?
I am using %temp%/cake-build/addins in the config for the addins and tools.
When running this from powershell (A):
.\build.ps1 --target initialize --verbosity verbose --debug
The directory for the addins is C:/Users/DEVELO~1/AppData/Local/Temp/cake-build/addins
When running cake directly (B), the directory is C:/Users/developer/AppData/Local/Temp/cake-build/addins
The directories when searching for files in NuGet packages are:
A: ../../../../../../../developer/AppData/Local/Temp/cake-build/addins/Cake.FileHelpers.7.0.0/lib/net8.0/Cake.FileHelpers.dll
B: lib/net6.0/Cake.FileHelpers.dll
The first one clearly fails to figure out the (relative) directory of the NuGet package.
Will try to figure out what's causing this and create a PR.
What is expected?
Steps to Reproduce
Output log
No response
Reactions are currently unavailable