We have moved to GitHub Issues
Created by Sergi Gisbert 19 Mar 2016, 17:51:31 Updated by Gareth Evans 22 Aug 2018, 05:32:04
I'm currently with Umbraco 7.2.8, and I'm using MiniProfiler v3.1.1 as part of my solution. While trying to upgrade the Nuget package, I'm getting an error because UmbracoCMS.Core has a dependency on an older MIniProfiler package:
MiniProfiler (>= 2.1.0 && < 3.0.0)
So it fails, and I cannot upgrade Umbraco to its latest version. I am about to start some new features on this project, so I wanted to be running latest, but I just can't.
I currently cannot downgrade my MiniProfiler version, as it's being used by other custom packages, and, honestly, also don't want to keep old code, when newer versions are available.
Is there any chance you upgrade the dependencies for Core package to the latest version of MiniProfiler (220.127.116.11)? Or at least the 18.104.22.168. Any reason you can't do it?
Many thanks, Sergi
We cannot, it has breaking changes, updating it leads to the following error: Method not found: 'StackExchange.Profiling.MiniProfiler StackExchange.Profiling.MiniProfiler.Start(StackExchange.Profiling.ProfileLevel)'.
It will be upgraded in v8.
You could try to run both versions, sticking the v3 version you need in a subdirectory in your bin folder and adding assembly redirects in your web.config.
Thanks for your answer, @sebastiaan. Unfortunately, we are using other nuget packages that depend on the newer version of miniprofiler, so I just can't uninstall it. I guess we'll stick to this version by now...
Related - I have application code which uses EF6 as part of an Umbraco solution, so needed Miniprofiler.EF6 as part of an Umbraco build https://github.com/MiniProfiler/dotnet/issues/320
Backwards Compatible: True
Affected versions: 7.4.2
Due in version: