LibMan MSBuild Reference - aspnet/LibraryManager GitHub Wiki
This page provides a reference for the LibMan MSBuild integration.
Configuration
Add a package reference to the Microsoft.Web.LibraryManager.Build package.
The package will automatically include the targets to restore a libman.json file located in the project root. If the libman.json file does not exist, the task will return a warning. This is to make the developer aware that there is no manifest to restore.
MSBuild properties
- To turn off the LibMan restore target, you can set
$(LibraryRestore)to false.