Questions tagged [libman]

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.

32 questions
1
vote
2 answers

Need Assistance With Blazor and LibMan to install Bootstrap and associated components (i.e., Popper and jQuery)

I am working on a Blazor project in which I am using Bootstrap; which, of course, requires jQuery and Popper for the tooltips and popovers to work. Originally, I just "manually" downloaded the required files: jQuery Popper Bootstrap (css and…
Brian
  • 1,726
  • 2
  • 24
  • 62
1
vote
0 answers

.NET 5 CLI libman tool not working when installed locally

So I am attempting to install the libman CLI tool for .NET 5.0 (locally) with: dotnet new tool-manifest dotnet tool install Microsoft.Web.LibraryManager.Cli --version 2.1.113 dotnet tool restore which appears to work, The dotnet-tools.json gets…
Xorcist
  • 3,129
  • 3
  • 21
  • 47
1
vote
1 answer

Replicating libman unpkg with a local filesystem

I noticed I can use libman to download many libraries into my Asp.Net Core app in a nice way. E.g. I can easily get the latest @microsoft signalr: However, in my application I can't rely on external package sources and would like to store the…
LA.27
  • 1,888
  • 19
  • 35
1
vote
0 answers

Options for local hosted client side package management in VS2019?

A common issue I keep bumping into for web projects in net core, is the need for sharing javascript in easy to use modules from project to project. Often times large quantities of code written in VS project A could be very much used in project B,…
1
vote
1 answer

FontAwesome Pro using Libman

How can I use FontAwesome Pro using Libman in Visual Studio? I have access to the following, cdnjs, jsdelivr and unpkg, also file system, but the latter is not ideal. Where would I put the pro licence key? Is this even supported?
Shane van Wyk
  • 1,870
  • 1
  • 26
  • 62
1
vote
2 answers

Client-side Library installed using Libman does not show in solution explorer of Visual Studio 2017

I installed jquery-validate using Libman but the file does not appear in solution explorer of visual studio 2017. I have attached an image of the window which shows the installed client side library not showing in solution explorer. Can anyone tell…
1
vote
1 answer

Best way to import Javascript packages in .NET core app

I'm new to the .NET Core framework and currently setting up a dashboard that uses Razor pages and some JavaScript interactions. For the few example projects I've created none of them came with a package manager from the get go, which imho is needed…
Koekenbakker28
  • 241
  • 3
  • 7
1
vote
1 answer

How to exclude wwwroot\lib in ASPNET Core using Visual Studio 2017

Using VSTS (not git) and use Visual Studio 2017 libman to manage client-side libraries. These libraries are put in wwwroot\lib. I don't want to add these to source code control. I've tried putting a .tfignore in my project folder…
paultechguy
  • 2,318
  • 4
  • 25
  • 34
1
vote
2 answers

How to add TypeScript definition files to source control?

I have simple asp.net core web application, where I have installed javascript libraries using libman. I want to use typescript, so I have installed typescript definition files for the libraries using npm, e.g: npm install @types/jquery…
Liero
  • 25,216
  • 29
  • 151
  • 297
1
vote
1 answer

How do I download directory with LibMan?

The new libman in Visual Studio is super simple and lightweight. But I cannot figure out how to download a directory with it... I have this config: { "version": "1.0", "defaultProvider": "cdnjs", "defaultDestination": "lib", …
Adrian Rosca
  • 6,922
  • 9
  • 40
  • 57
0
votes
1 answer

Library Manager libman throwing error while downloading font-awesome

I am getting below error while downloading font-awesome from the library manager libman in asp.net core project. [LIB002]: The "font-awesome@5.15.1" library could not be resolved by the "cdnjs" provider Command: libman install font-awesome@5.15.1 -d…
Assay Khan
  • 56
  • 9
0
votes
1 answer

The libman package manager freezes in initialization

I used the libman package manager on Visual Studio 2022 very well, however, the libman freezes in package console manager for a long time today when I use the libman init command. The libman --version works well. PM> libman…
Arani
  • 891
  • 7
  • 18
0
votes
1 answer

"Accordion" class unrecognized in local Bootstrap 5

I am following the Bootstrap 5 docs to create a vertically collapsing Accordion, as detailed at https://getbootstrap.com/docs/5.0/components/accordion/ However, despite having installed this library with libman, the main class "Accordion" throws an…
0
votes
0 answers

Unable to use Bootstrap in project using Visual Studio 2019

I have installed the Bootstrap using LibMan in Visual Studio with jQuery, and have added its reference in the _layout.cshtml file, but it is not working—meaning it is still showing content in the default browser style. Can you please help me find…
0
votes
1 answer

Upgrading to LibMan from NuGet

We have a web app project that still uses NuGet for content packages management (jQuery, Knockback, knockoutjs, etc.). We are trying to convert to use LibMan, and running into an issue where some older packages do not exist (for instance…
Alex I
  • 2,078
  • 3
  • 18
  • 24