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
Please sign in to leave a comment.
We will look at issue, but by the way - why are using such form?
You can use regular plain form
Html.RenderPartial("PhysicianSearch", model)
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/