[Mono-list] Just can't get MVC 3 w/ Razor to work on Mono 2.11 & Ubuntu 12.4

urbanite robert.billings at apx-labs.com
Mon Jul 30 15:56:08 UTC 2012


I'm really stuck, guys.  I've followed many tutorials and have searched the
web, including this forum, for answers.  The good news is that I've
approached the problem from many different angles and always end up with the
same error, so hopefully it will be easy to fix.

I've been able to get regular ASP.NET sites to work, even if the project is
created in VS2010, and I can get MVC3 sites to work, but they have to be
created in MonoDevelop.  What I can't get to work under any circumstances is
MVC3 Razor.

I always come to the same error no matter what I do:

System.InvalidOperationException
The view 'Index' or its master was not found or no view engine suports the
searched locations.

The project runs fine when debugging in MonoDevelop on Windows.  I can also
publish the site and host it without problems using UltiDev when hosting on
Windows.  I need to be able to host it using Mono XSP on Ubutntu, however.

I suspect that I have an issue in the web.config file, but I defer to the
expertise on this forum.

Please help,
Tony



--
View this message in context: http://mono.1490590.n4.nabble.com/Just-can-t-get-MVC-3-w-Razor-to-work-on-Mono-2-11-Ubuntu-12-4-tp4650644.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list