The problem came from the fact that the MiniProfiler.MVC
package has an example project included. A MiniProfiler.cs
file is created in the App_Start
folder, and starts with the web application.
Just removing this file solved the problem.
You can also delete Views/Shared/_MINIPROFILER UPDATED Layout.cshtml
which is part of the example project.