Open ddo88 opened 3 years ago
@ddo88:
Are you using Linux or Mac build agent? I've only tested on windows and it has been long time ago. Very few people were downloading this extension, so I'm not sure whether it makes sense to support it.
I recommend you the official way to restore Libman packages as part of dotnet build
command using <PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="...." />
, see restore-files-during-build
EDIT:
An alternative come to my mind:
You might install the Microsoft.Web.LibraryManager.Cli
global tool as a separate step, see: https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/dotnet-core?view=azure-devops&tabs=dotnetfive#build-your-project
steps:
- task: DotNetCoreCLI@2
displayName: 'Install Libman'
inputs:
command: custom
custom: tool
arguments: 'install -g Microsoft.Web.LibraryManager.Cli'
and then invoke libman restore
using Command Line task or simmilar
Yes was on linux agent
Hello I´m trying to configure libman task to restore cliente libraries, my pipeline is configurated this way
but i´m receiving this error, what can i do, thanks for your help