Graham
Graham

Reputation: 276

Is Visual Studio installing Nuget Packages differently?

I am using VS 2022 and .Net Core 6. When I install a scripted package from Nuget, such as jquery, fontawesome or bootstrap, the package shows up under [Dependencies], but no scripts are installed or updated in wwwroot. Is there a new way we are supposed to reference these in our html pages or am I dealing with a bug in VS or Nuget?

Thanks!

enter image description here

Upvotes: 2

Views: 57

Answers (1)

Jingmiao Xu-MSFT
Jingmiao Xu-MSFT

Reputation: 2297

You can try to delete the jquery folder and download it again using LibMan. Then re-add the JQuery reference in the Layout.cshtml in View.

Upvotes: 1

Related Questions