Fair enough.
I guess what I should have said is that Mono ships with the assemblies for
MVC2. They cannot ship the assemblies for MVC3 as they do not build without
Razor and Razor is not Open Source.
If all you have are the assemblies for MVC2 then 'cshtml' and 'vbhtml' are
not recognized as valid ASP.NET pages.
On 22 January 2012 10:08, martinJT [via Mono] <
[email protected]> wrote:
> 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" <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4318757&i=0>
> >
> To: [hidden email] <http://user/SendEmail.jtp?type=node&node=4318757&i=1>
> 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<http://mono.1490590.n4.nabble.com/Mono-Apache2-and-cshtml-files-tp4308815p4316492.html>
> Sent from the Mono - General mailing list
> archive<http://mono.1490590.n4.nabble.com/Mono-General-f1490591.html>at
> Nabble.com.
>
> _______________________________________________ Mono-list maillist - [hidden
> email] <http://user/SendEmail.jtp?type=node&node=4318757&i=2>
> http://lists.ximian.com/mailman/listinfo/mono-list
>
> _______________________________________________
> Mono-list maillist - [hidden
> email]<http://user/SendEmail.jtp?type=node&node=4318757&i=3>
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono.1490590.n4.nabble.com/Mono-Apache2-and-cshtml-files-tp4308815p4318757.html
> To unsubscribe from Mono Apache2 and cshtml files, click
> here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4308815&code=bWFsY29sbS5qdXN0aW5AZ21haWwuY29tfDQzMDg4MTV8NDk1MjY1NDg5>
> .
> NAML<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://mono.1490590.n4.nabble.com/Mono-Apache2-and-cshtml-files-tp4308815p4319300.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list