Just to be clear, it wasn't that I wasn't "running MVC3" on that machine. MVC3 isn't a service that's run, it's a set of DLL's. The issue was simply that I hadn't deployed some of the DLL's that were needed for sites that use Razor View Engine (I believe it's due to the fact that Razor isn't open sourced in the same was as the MVC framework).
Using the term "running MVC3" could be confusing to users, hence the reason I felt that clarity was needed. Thanks for the reply though. Martin ----- Original Message ----- From: "jmalcolm" <[email protected]> To: [email protected] Sent: Saturday, 21 January, 2012 17:31:57 GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [Mono-list] Mono Apache2 and cshtml files martinJT wrote > there's a slight problem that a particular page is > linked to as > "default.cshtml". This means that apache is thinking that it's > a file to > download. here are the ones I had to copy in from an existing razor site on > the same machine... Microsoft.Web.Mvc.dll System.Web.Mvc.dll > System.Web.Routing.dll I also needed to remove > "Microsoft.Web.Infrastructure.dll". I believe your problem was simply that > you were not running MVC3 (including Razor) on the Mono box. That is why it > did not recognize 'cshtml'. View this message in context: Re: Mono Apache2 and cshtml files Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
