Search code examples
asp.net-corevisual-studio-2017nugetnuget-package

How to find and use downloaded packages from nuget in vs2017 software (and in an asp.net core project)?


In Visual Studio 2017, I use the following command to install a package like .jQuery.Unobtrusive.Validation:

Install-Package Microsoft.jQuery.Unobtrusive.Validation -Version 3.2.11

And the operation is done successfully. Now I'm looking for files on wwwroot but can not find anything? what is the problem?


Solution

  • Use LibMan :

    1. In Solution Explorer, right-click the project folder in which the files should be added. Choose Add > Client-Side Library.

    2. Type [email protected] in Library input area .

    3. Click Install , the library will install to target location . The default is wwwroot/lib/jquery-validation-unobtrusive/