LibMan (Microsoft Library Manager) is another library manager (similar to NPM/Yarn) that allows users to install and consume 3rd-party client-side libraries with ease.
Questions tagged [libman]
32 questions
21
votes
1 answer
Libman. Error LIB002 during build application
I'm working with asp.net core web app and trying to use libmam to manage client-side libs. I'm turn on "Enable Client-Side Libreries on Build" and write some code in libman.json:
{
"version": "1.0",
"defaultProvider": "cdnjs",
…

Natalia
- 313
- 2
- 8
9
votes
2 answers
Bootstrap 4 library name in Libman (CDNJS) from Visual Studio 2019
How do you add the Bootstrap 4 library to a project using Libman as package manager and CDNJS as provider, it doesn't seem to be in the list of avaliable libraries?
Is it named something else compared to Bower & NPM?
In this case, I am using a .net…

Andreas
- 775
- 2
- 11
- 20
7
votes
1 answer
How to use libman instead of npm to download typescript definitions
When I install typescript definitions using npm, I can use them in typescript files that are part of Visual Studio build:
Create new ASP.NET Core Web Application in Visual Studio
Add jQuery using libman
Add jQuery using npm install…

Liero
- 25,216
- 29
- 151
- 297
5
votes
1 answer
"Add Client-Side Library" option is missing in Visual Studio 2019 Community
I am trying to follow this tutorial, which asks me to Add Client-Side Library, but I simply don't have that option available:
.
VS version: Microsoft Visual Studio Community 2019, Version 16.6.1
ASP.NET and web development workload is installed, I…

Károly Ozsvárt
- 1,025
- 1
- 12
- 24
5
votes
2 answers
Restore Libman JS Libraries in Azure DevOps Build Pipeline
I've set up a happy Azure DevOps build pipeline, which is triggered on a commit to a branch, then restores Nuget packages, builds my Mvc.Core web app and deploys it to an Azure App Service.
However the JS libraries referenced in LibMan are not…

Ted
- 2,525
- 2
- 37
- 54
4
votes
2 answers
WebStatus wont compile: The "jquery@3.4.1" library could not be resolved by the "cdnjs" provider
I have the eShopOnContainers solution here: https://github.com/dotnet-architecture/eShopOnContainers. I have been actively working on a variation of it for the last few years. I attempted to compile it this morning and the WebStatus project causes…

w0051977
- 15,099
- 32
- 152
- 329
4
votes
1 answer
Confuse about Nuget and Libman in VS2022
I am new to .NET Core web development.
In VS2017, when I install jQuery using Nuget, a message will be shown suggesting to use Libman instead.
However, in VS2022 the warning message disappeared, and I can successfully install jQuery as a dependency…

newcoder
- 302
- 3
- 15
3
votes
1 answer
no option to add Client side library Visual studio 2022 on mac m1
I want to add bootstrap to my project and
didn't found Client-side library on options
enter image description here

mokhtar sayed
- 33
- 6
3
votes
1 answer
Why libman.json is created as 'Content' and why it has 'Copy if newer' property?
Context
When I use Add Client Side Library in VS it creates the libman.json file in the project with properties 'Content' and 'Copy if newer'
Question
Why libman.json is created as 'Content' and why it has 'Copy if new' property? As far I understand…

g.pickardou
- 32,346
- 36
- 123
- 268
3
votes
2 answers
how to use Libman json file in VS Code?
Can I use libman.json to manage libraries file without using visual studio and core asp.net? If yes please tell me how?

loveCoding
- 105
- 8
2
votes
1 answer
Bootstrap4 typings(index.d.ts) cannot find module 'popper.js' on VisualStudio 2019 with TypeScript3.9 and Libman
I use VisualStudio 2019 with TypeScript3.9 and Libman.
And I need Bootstrap4 and jQuery.
So try get these libraries and typings(index.d.ts) by Libman.
Then Bootstrap4 typing(index.d.ts) get error "Cannot find module popper.js".
// Type definitions…

Lyc
- 121
- 8
2
votes
2 answers
Libman - How to install dependencies of installed library
I am using Libman - Asp Core - VsCode
I Installed Semantic-ui which needs jQuery,Popper and etc.
Is there a way that Libman install it's dependencies automatically while installing a library ?
Like what npm does.

Arash.Zandi
- 1,010
- 2
- 13
- 24
2
votes
1 answer
Azure DevOps + LibMan + UNPKG Intermittent Error LIB010: Failed to download resource from unpkg.com
I've setup Continuous Integration on Azure DevOps but I keep getting an intermittent issue whereby libman fails to download a resource here's a few examples:
##[error]libman.json(0,0): Error LIB010: Failed to download resource from…

Smithy
- 2,170
- 6
- 29
- 61
2
votes
0 answers
ESLint cannot find module 'ajv' in asp.net core 2.1 VS 2017
I have a ASP.NET Core 2.1 project in Visual Studio 2017, now I added the client side libraries using Libman(Library Manager) everything worked fine the first day, next day I get an error saying "(ESLint) cannot find module 'ajv'" plus no JavaScript…

jdennoh
- 43
- 9
1
vote
1 answer
Can we add a custom provider for Visual Studio Client side library?
for our dev team we need to add another provider for Visual Studio Client side library (Artifactory).
Is there a way to add this custom provider ?
Thank you
Julien

Julien Duprat
- 55
- 4