Cannot resolve view...

See attached ResharperCannotResolveView.png.  There are 2 shared partial views rendered via Html.RenderPartial. The view name and path is in fact valid and the code runs correctly yet Resharper cannot seem to resolve it for some reason.



Attachment(s):
ResharperCannotResolveView.png
2 comments
Comment actions Permalink

We will look at issue, but by the way - why are using such form?
You can use regular plain form

Html.RenderPartial("PhysicianSearch", model)
0
Comment actions Permalink

Basically the full path is being supplied to avoid a performance problem. In this case since this is a shared view it may not matter.

See http://blog.dynatrace.com/2009/04/22/aspnet-mvc-hidden-performance-problem-with-htmlhelperrenderpartial-functions/

0

Please sign in to leave a comment.