Re: [Mono-aspnet-list] MVC 3 App Cannot Find Template

2011-03-29 Thread Daniel J. Summers
On Mon, Mar 14, 2011 at 5:33 AM, Daniel J. Summers daniel.summers.2...@gmail.com wrote: But, when it tries to render the home page, the following error occurs: System.InvalidOperationException: The view 'Index' or its master was not found or no view engine supports the searched locations.

Re: [Mono-aspnet-list] MVC 3 App Cannot Find Template

2011-03-15 Thread carlhoerberg
mono can't find the precompiled views because of a ~ in the beginning of the view path, but it's easily fixed: https://gist.github.com/870574 -- View this message in context: http://mono.1490590.n4.nabble.com/MVC-3-App-Cannot-Find-Template-tp3353175p3356663.html Sent from the Mono - ASP.NET

Re: [Mono-aspnet-list] MVC 3 App Cannot Find Template

2011-03-15 Thread Daniel J. Summers
On Tue, Mar 15, 2011 at 8:04 AM, carlhoerberg carl.hoerb...@gmail.comwrote: mono can't find the precompiled views because of a ~ in the beginning of the view path, but it's easily fixed: https://gist.github.com/870574 Outstanding! I'll give this a shot. I develop this on Windows, but

Re: [Mono-aspnet-list] MVC 3 App Cannot Find Template

2011-03-15 Thread Carl Hörberg
it works in both environments :) On Tue, Mar 15, 2011 at 21:52, Daniel J. Summers daniel.summers.2...@gmail.com wrote: On Tue, Mar 15, 2011 at 8:04 AM, carlhoerberg carl.hoerb...@gmail.com wrote: mono can't find the precompiled views because of a ~ in the beginning of the view path, but it's

Re: [Mono-aspnet-list] MVC 3 App Cannot Find Template

2011-03-15 Thread Daniel J. Summers
On Tue, Mar 15, 2011 at 2:54 PM, Carl Hörberg carl.hoerb...@gmail.comwrote: it works in both environments :) This didn't seem to fix it. Still works fine on Windows, but still throws the error in Mono. (Even did clean/build and restarted Apache to flush the compiled cache.) Here's my

Re: [Mono-aspnet-list] MVC 3 App Cannot Find Template

2011-03-15 Thread carlhoerberg
it looks alright. you're using mono 2.10.1? did you precompile without updatable? mono doesn't cope with that.. On Wed, Mar 16, 2011 at 09:47, Daniel J. Summers [via Mono] ml-node+3380701-32757232-218...@n4.nabble.com wrote: On Tue, Mar 15, 2011 at 2:54 PM, Carl Hörberg [hidden email] wrote: