However, when I perform the first step via Nuget Package Manager...
Install-Package Microsoft.AspNet.Web.Optimization
The package installs, but Umbraco get's upgraded from 6.2.0 to 6.2.1, which is not what I want. I just want to add bundling. Does anyone know if this is possible via Nuget, or will I have to manually add the dlls to get bundling working in Umbraco?
Thanks Dan. That set me off on the right path, though it wasn't quite as simple as your first post suggested as the Optimization package requires all the dependencies for it to work!
But using the IgnoreDependencies flag I was able to work out that it was the Json.Net package what was triggering the Umbraco upgrade. So, installing the packages separately using the three lines below gets bundling installed and no tinkering with my Umbraco.
Adding bundling without upgrading
Hi all
Long time lurker, first time poster!
I have an Umbraco 6.2.0 site and I want to add bundling to the site. I'm following the guide here https://gist.github.com/jkarsrud/5143239.
However, when I perform the first step via Nuget Package Manager...
The package installs, but Umbraco get's upgraded from 6.2.0 to 6.2.1, which is not what I want. I just want to add bundling. Does anyone know if this is possible via Nuget, or will I have to manually add the dlls to get bundling working in Umbraco?
Hi James,
You could try adding the ignore dependencies flag to your install package command:
Thanks, Dan.
Or if that doesn't work, after installing the package you could downgrade Umbraco to 6.2.0:
Thanks, Dan.
Thanks Dan. That set me off on the right path, though it wasn't quite as simple as your first post suggested as the Optimization package requires all the dependencies for it to work!
But using the IgnoreDependencies flag I was able to work out that it was the Json.Net package what was triggering the Umbraco upgrade. So, installing the packages separately using the three lines below gets bundling installed and no tinkering with my Umbraco.
Thanks for your help, Dan.
is working on a reply...