[Mono-list] Mono Apache2 and cshtml files

Martin J. Thwaites monoforum at my2cents.co.uk
Sun Jan 22 18:04:29 UTC 2012


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" <malcolm.justin at gmail.com> 
To: mono-list at lists.ximian.com 
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 - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120122/abfff236/attachment.html>


More information about the Mono-list mailing list