Last post Apr 21, 2015 09:25 PM by Krunal Parekh
Apr 17, 2015 07:20 AM|mehta.rahulit|LINK
when i looked for some solution online it suggested adding the @inherits but class already has "
with model tag in place cannot add @inherits System.Web.Mvc.WebViewPage ...Got Stuck.
Help page gets called on visual studio but not on release environment
Apr 20, 2015 01:30 AM|Krunal Parekh|LINK
Please try changing your view as below.
See below links that might help.
Hope this helps,
Apr 21, 2015 06:52 AM|mehta.rahulit|LINK
I went to Areas\HelpPage\Views\Help\Index.cshtml and tried your solution
it does not allow to add @inherits System.Web.Mvc.WebViewPage<Collection<ApiDescription>>
I get error even on local when I add this tag otherwise it works as expected on local
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The 'inherits' keyword is not allowed when a 'model' keyword is used.
Source Error: It works without anything new on local but on release environment I don't get help page
I am using visual studio 2013, framework 4.5
Apr 21, 2015 09:25 PM|Krunal Parekh|LINK
remove the @model Collection<ApiDescription> and add @inherits
System.Web.Mvc.WebViewPage<Collection<ApiDescription>> you can not add both at same time.