[Mono-list] Mono Apache2 and cshtml files

jmalcolm malcolm.justin at gmail.com
Sat Jan 21 17:31:57 UTC 2012

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: http://mono.1490590.n4.nabble.com/Mono-Apache2-and-cshtml-files-tp4308815p4316492.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120121/18b4e5f6/attachment.html>

More information about the Mono-list mailing list