[Mono-list] Running ASP.Net 4.5 MVC Application on Mono

Fernando Rodriguez frodriguez.developer at outlook.com
Thu Sep 18 16:44:32 UTC 2014


On Thursday 18 September 2014 7:48:37 AM Martin Thwaites wrote:
> The namesakes for views are imported from the Web.config in the views
> directory, that could be your issue there.
> 
> Glad you got it working.

Yea that was it, I was using Web.config files from MVC3 merged with MV5 and the 
MVC3 has a pages section for webforms and I had added them to that section.

I got it to "work" with the visual studio Web.configs just changing the 
versions but it doesn't really work. Most views won't compile and sometimes 
xsp gives an exception but sometimes it doesn't. Even a standard "List" view 
generated by VS scaffolding won't compile because of this line: 
Html.DisplayNameFor(model => model.Name)

Thanks

----------
Fernando Rodriguez
frodriguez.developer at outlook.com


More information about the Mono-list mailing list