Перейти к файлу
Jimmy Lewis ee89652434 Remove duplicate PackageReference 2022-11-16 19:01:21 -08:00
.github Update badge and CI, and fixup PR template (#662) 2022-01-02 23:06:15 -08:00
Localize Move localization process to OneLocBuild (#616) 2021-02-12 22:49:38 -08:00
art Update images in readme (#679) 2022-05-03 01:42:13 -07:00
azure-pipelines Fix casing on Codeql.Enabled 2022-11-16 17:06:11 -08:00
build Convert ruleset files to globalconfig (#701) 2022-09-27 10:22:41 -07:00
common/tools/VsctToXliff Adding localization files and targets. Using Multilingual App Toolkit (MAT) for RESX file and custom tool VsctToXliff (sources added) for VSCT. XLF files are the loc files that vendors localized for us. We translated from RESX and VSCT to XLF, then vendors localize, then we tranlsate it back from localized XLF files to localized RESX and VSCT. 2018-03-01 13:50:45 -08:00
setup Fix TargetFrameworkVersion in the vsmanproj for VS2022 (#677) 2022-03-26 15:11:02 -07:00
src Read lines from file once when assigning lines to error items (#703) 2022-10-09 11:09:38 -07:00
test Remove duplicate PackageReference 2022-11-16 19:01:21 -08:00
.editorconfig Improve code style rules 2019-06-04 00:32:49 -07:00
.gitattributes Add project files. 2017-03-31 08:05:13 -07:00
.gitignore Stress and Perf fixes (#85) 2018-06-05 07:24:48 -07:00
CHANGELOG.md Update changelog (#668) 2022-01-10 12:58:53 -08:00
CODE-OF-CONDUCT.md Link Code of Conduct (#568) 2020-04-09 13:23:02 -07:00
Directory.Build.props Add HighEntropyVa & CheckForOverflowUnderflow flags 2022-06-10 10:01:25 -07:00
Directory.Build.targets Update dependencies to the latest, convert NuGet to CPVM 2021-07-01 11:32:52 -07:00
Directory.Packages.props Switch to package refs for webtools json references (#698) 2022-09-27 17:58:56 -07:00
Install-dotnet.ps1 Update dotnet version used to build CLI tool 2018-06-14 16:07:40 -07:00
LICENSE.txt Added license headers to all .cs files 2017-03-31 10:22:15 -07:00
LibraryManager.Settings.targets Adding localization files and targets. Using Multilingual App Toolkit (MAT) for RESX file and custom tool VsctToXliff (sources added) for VSCT. XLF files are the loc files that vendors localized for us. We translated from RESX and VSCT to XLF, then vendors localize, then we tranlsate it back from localized XLF files to localized RESX and VSCT. 2018-03-01 13:50:45 -08:00
LibraryManager.sln Convert ruleset files to globalconfig (#701) 2022-09-27 10:22:41 -07:00
README.md Update images in readme (#679) 2022-05-03 01:42:13 -07:00
SECURITY.md Update documentation for reporting security issues (#515) 2019-09-09 15:55:31 -07:00
azure-pipelines.yml Update badge and CI, and fixup PR template (#662) 2022-01-02 23:06:15 -08:00
build.cmd Include the cache location in 'libman cache list' (#583) 2020-05-12 13:02:37 -07:00
nuget.config Assign package source mappings 2022-11-16 19:00:13 -08:00
version.json Add $schema reference to version.json 2021-07-05 21:23:06 -07:00

README.md

Microsoft Library Manager

Install and consume 3rd-party client-side libraries with ease.

Build Status

Reasons to use LibMan

  1. For apps not currently using another package manager
  2. For projects where you think Bower and npm are overkill
  3. For developers that don't want to use Bower/Yarn or npm
  4. For developers that value simplicity in their tools
  5. For using custom or private packages/files
  6. For orchestrating file placement within your project

Reasons NOT to use LibMan

  1. Developer/team likes using tools such Bower, Yarn or npm
  2. For apps that uses WebPack or Browserify for module loading/bundling

Features

  • Add any library from cdnjs.com, jsdelivr.com, or unpkg.com
  • Add any file from file system, network share or remote URL
  • Only add the file(s) you need
  • Can install any file into any folder in your project/solution
  • Very fast

Installation

  • Fully integrated into Visual Studio 2017 and newer

  • Available as an add-in for Visual Studio for Mac

    • From the main menu, open the Extensions Manager dialog.
    • Select the Gallery tab.
    • Expand IDE extensions.
    • Select the Library Manager addin
    • Click the Refresh button if the addin is not visible.
    • Click Install… to install the addin.
    • Restart Visual Studio for Mac.

    Please read the LibMan support in Visual Studio for Mac blog post for more details

  • Available as a dotnet global tool - Microsoft.Web.LibraryManager.Cli

Getting started

Right-click any web project in Solution Explorer and hit Manage Client-side Libraries....

Context menu

This will create a libman.json file in the root of the project.

libman.json

Context menu

Right-click libman.json in Solution Explorer to access commands that help managing the libraries.

context menu libman.json

Intellisense

Edit the libman.json file to install libraries. Every time the file is saved, Visual Studio will install/restore the packages.

libman.json

See libman.json reference for more information.

Light bulbs

Inside libman.json there are light bulbs that show up with helpful commands.

Light bulbs

Road map and release notes

See the CHANGELOG for road map and release notes

Feedback

Check out the contributing page to see the best places to log issues and start discussions.

Reporting Security Issues

Please refer to SECURITY.md