wu0527 / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

_MINIPROFILER UPDATED Layout.cshtml uses MvcMiniProfiler namespace #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install MiniProfiler 2.0-rc1 via nuget
2. Compile web application using web deployment project

There is a namespace error: 

e:\work\8c839f8727199782\MyApp.csproj_deploy\Source\Views\Shared\_MINIPROFILER 
UPDATED Layout.cshtml(12, 0): error CS0103: The name 'MvcMiniProfiler' does not 
exist in the current context
Project MyApp.csproj_deploy\MyApp.csproj_deploy.wdproj failed. 

Original issue reported on code.google.com by gro...@gmail.com on 21 Mar 2012 at 3:43

GoogleCodeExporter commented 9 years ago
Easily fixed by changing to: 

@StackExchange.Profiling.MiniProfiler.RenderIncludes()

Original comment by gro...@gmail.com on 21 Mar 2012 at 3:43

GoogleCodeExporter commented 9 years ago
Not sure about this, can not repro, this is an upgrade issue. Not even sure how 
we can fix it. 

Original comment by sam.saff...@gmail.com on 3 Apr 2012 at 4:04

GoogleCodeExporter commented 9 years ago
Judging by my nuget cache, this was caused by using MiniProfiler.MVC3 1.9.1 + 
MiniProfiler 2.0.0-rc1. 

Can be closed.

Original comment by gro...@gmail.com on 3 Apr 2012 at 1:42

GoogleCodeExporter commented 9 years ago
The "Getting Started" section on Project Home 
(https://code.google.com/p/mvc-mini-profiler/) still says to use 
@MvcMiniProfiler.MiniProfiler.RenderIncludes()

Original comment by mich...@gmail.com on 4 Apr 2012 at 4:40

GoogleCodeExporter commented 9 years ago
corrected the doco

Original comment by sam.saff...@gmail.com on 8 Apr 2012 at 8:43