Open rfennell opened 7 months ago
This it appears is due to the way get-childitem -filter
works.
The workaround is to provide a toolpath to the task so it does not have to do the search itself
See https://devblogs.microsoft.com/powershell/why-is-get-childitem-so-slow/
Azure DevOps Extensions
Manifest Versioning
Platform
Azure DevOps Services
Azure DevOps Server (TFS) Version
No response
Extension Version
DACPAC 3.7.2
Describe the bug
The discovery of the path to the location of the required tools is very slow on some agent, in this example it took over 6minutes
Repo Steps
Run the task, on sone agent the time is slow, on others it is not
Expected Behavior
Fast discovery of the path
Logging Information
No response