Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

jQuery not found when migrating to PackageReferences

$
0
0

I've migrated to PackageReference for my ASP.NET Core MVC web project.The first issue that occurred is that it says that my project is not eligible so I had to remove this line <ProjectTypeGuids> from the .csproj file in order to be able to migrate.

After that, I've been able to do a successful migration, so I've put <ProjectTypeGuids> back.

The issue that occurred now is that I can't find jQuery js files at any location of the project.

It's displayed in References and in "Manage Nuget Packages" that I've the latest version installed , but I can't find it anywhere to reference it.

I really don't want to put manually the JS files because I wont be able to update the libraries automatically from "Manage Nuget Packages". So the only way here is to determine how can I see and reference those JS files.

What am I missing here ?

I've tried the migration on an empty ASP.NET Core MVC / C# web project. The script folder is removed on migration and the JS files are not available anywhere.

I've removed and reinstalled the package but not luck. I've restarted Visual Studio, rebuild, cleaned, removed the obj and bin folder data but same outcome.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>