jQuery not found when migrating to PackageReferences

90 views Asked by At

I've migrated to PackageReference for my ASP.NET 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 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.

0

There are 0 answers