Restore libman libraries for core app on build

austin's Avatar


12 Feb, 2020 03:52 PM

We're using core and pulling in javascript libraries through our libman.json file in our project. Visual Studio automatically pulls those files in. How can we have those libraries pulled down as part of the build process (similar to Nuget restore)?

Here is a sample of what is in our libman.json

  "version": "1.0",
  "defaultProvider": "cdnjs",
  "libraries": [
      "library": "lazysizes@5.1.2",
      "destination": "wwwroot/lib/lazysizes/"
      "library": "dropzone@5.5.1",
      "destination": "wwwroot/lib/dropzone/"

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Feb, 2020 04:08 PM

    Feodor Fitsner's Avatar

    Hi Austin,

    You can use LibMan CLI to restore the packages. LibMan CLI could be installed during the build:

  2. 2 Posted by austin on 13 Feb, 2020 09:33 PM

    austin's Avatar

    Okay, thank you!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac