5

I am trying to follow this tutorial, which asks me to Add Client-Side Library, but I simply don't have that option available:

option missing from Add menu.

VS version: Microsoft Visual Studio Community 2019, Version 16.6.1

ASP.NET and web development workload is installed, I tried to install everything it would need, but still nothing.

All other Library Manager-related options are missing from the GUI.

Based on LibraryManager's GitHub repository, it would not require install since it is "Fully integrated into Visual Studio 2017 and newer" but unfortunately it seems like not.

Károly Ozsvárt
  • 1,025
  • 1
  • 12
  • 24
  • Hi Károly! I have completed this same tutorial using Microsoft Visual Studio Community 2019, Version 16.6.0 without issue. I have had the problem you referred to when I created a Razor Class Library, not a Web Application. In your web project, what is listed under Dependencies -> Framework? You should see Microsoft.AspNetCore.App and Microsoft.NETCore.App. – Shawn Paige Jun 08 '20 at 17:58
  • did you find any solution for this... – Jaydeep Karena Sep 02 '20 at 16:29
  • I had the same problem when I used Console App when creating the project. If you make a Web app “Add Client-Side Library” option should be available. –  Feb 03 '21 at 07:22
  • Anybody have an answer for this? I am still seeing the issue in VS2019 Community Microsoft Visual Studio Community 2019 Version 16.9.1 in an ASP.NET 5.0 in March 2021. – WillC Mar 16 '21 at 17:03

1 Answers1

4

Make sure the Microsoft Library Manager extension is installed/enabled. Mine was disabled for some reason, I enabled it, restarted VS2019(16.10 Preview 1.0), and "Manage Client-Side Libraries..." was back in the menu.

Enable Microsoft Library Manager extension

Chris Carter
  • 103
  • 7