We have moved to GitHub Issues
Created by Ben Haynie 23 May 2013, 23:20:50 Updated by Nicholas Westby 24 Jun 2013, 22:16:29
I attempted to include a the website in a Solution file (downloaded the website, not the binaries), and it fails to compile. Has an error in the ListDescendantsFromCurrentPage.cshtml and ListChildPagesWithDoctype.cshtml files. Reports that "query" is not defined, and Cms does not exist in the namespace Umbraco.
Hey Ben, you're not supposed to compile the website. It's already compiled for you.
That said, I did update the ListDescendantsFromCurrentPage as that was using the wrong namespaces and ListChildPagesWithDocTypes now will work out of the box as well.
Fixed in changeset 2c35b784352b
FYI, I was seeing this issue when I set '''MvcBuildViews''' to true. Seemed like they were just sample views (and a few missing code behind files that were referenced), so I mostly just commented them out and things seemed to work. According to my source control history, the files I had to change were: *EditRelationType.aspx *NewRelationType.aspx *umbracoPage.Master *ListChildPagesOrderByProperty.cshtml *ListChildPagesWithDoctype.cshtml *ListDescendantsFromCurrentPage.cshtml
Not sure if you changed all of those, but thought I'd mention them just in case you hadn't.
Backwards Compatible: True
Due in version: 6.0.7