This project is read-only.

ObjectView.cshtml missing closing </div>

Nov 14, 2011 at 5:12 PM

Hi there.

Am I missing something, or is the ObjectView.cshtml missing the closing </div> to the following <div>?

<div class="ObjectView" id="@Html.ObjectTypeAsCssId(Model)">

Nov 14, 2011 at 5:45 PM

Yes, that appears to be the case.  Thanks for reporting  -  I will correct in the code.

(N.B.  As we do say in the manual, I think, all our testing is currently done on the .aspx view engine. The .cshtml views are not tested and may well contain some errors.  Unfortunately, my installation of Visual Studio has now stopped compiling Razor views  -  I'm not the only one to whom this has happened, apparently  -  and, having made several attempts to find the cause, at the moment I can't face the prospect of losing most of a whole day re-installing VS from scratch!  I do intend to fix this at some point.)



Nov 14, 2011 at 6:06 PM
No prob.
Nov 15, 2011 at 7:54 AM

VS2010 SP1 code formatting also breaks the Razor views.