In Visual Studio 2017, I needed to upgrade jQuery UI, from jquery-ui-1.8.20.js to jquery-ui 1.12. I wrote in NuGet console:
Install-Package jQuery.UI -Version 1.12.1
NuGet installed correctly but the files were downloaded in root. I need them in the Scripts folder (VS default for *.js) and in the Content folder (for *.css)
The main file downloaded by NuGet is jquery-ui.js, it has no number of version in the name of file. (Of course it's the correct version when checking its content)
What should I do? Copy manually the files into my desired folder?
I reference my scripts in VS by BundleConfig. Example:
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-{version}.js"));
Or maybe I need to modify this code in the Bundle? Or maybe unistall jQuery 1.12 and reinstall with another options in the NuGet console?