I migrated the opensurce project
http://surveymaster.codeplex.com
from MVC 2 to MVC 4
I have the followinng compiling errors now:
c:\inetpub\wwwroot\Views\SurveySession\Index.aspx(7,13): error CS1061: 'object' does not contain a definition for 'PageCount' and no extension method 'PageCount' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
c:\inetpub\wwwroot\Views\SurveySession\Index.aspx(12,38): error CS1061: 'object' does not contain a definition for 'Page' and no extension method 'Page' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
c:\inetpub\wwwroot\Views\SurveySession\Start.aspx(22,34): error CS1061: 'object' does not contain a definition for 'SurveyId' and no extension method 'SurveyId' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
c:\inetpub\wwwroot\Views\SurveySession\Start.aspx(23,30): error CS1061: 'object' does not contain a definition for 'Questions' and no extension method 'Questions' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
c:\inetpub\wwwroot\Views\SurveySession\Review.aspx(23,34): error CS1061: 'object' does not contain a definition for 'SessionId' and no extension method 'SessionId' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
the error is given on line 7:
Line 5: </asp:Content>
Line 6: <asp:Content runat="server" ID="Content1" ContentPlaceHolderID="MainContent">
Line 7: <% if(Model.PageCount.Equals(0)) {%>
Line 8: La moment nu sunt chestionare disponibile pentru dvs.
Line 9: <%}%>
There is also source complete compilation souce if you need