Reputation: 41972
Im trying to start a test asp.net mvc application written in mono, and using XSP as the server. The problem is that im getting an exception about missing system.web.mvc on application startup.
How can i get mono to load the assembly?
Upvotes: 8
Views: 3322
Reputation: 3913
Recently I opened an MVC project that was build with system.web.mvc proper. When I did the reference was listed but there was an arrow next to it that when dropped down said the ref could not be found. Adding and removing the reference resolved that issue. However; I was using IDependancyResolver from the MS System.Web.MVC and that does not seem to be in the Mono version.
Upvotes: 0
Reputation: 42333
There's some info in the Mono FAQ that might be helpful:
How can I run ASP.NET-based applications with Mono?
You can read our Guide to port ASP.NET Applications with Mono.
Additionally, this is a very good guide on porting an ASP.NET MVC WebSite to Mono is a three part series blog that covers how to port an ASP.NET MVC website application to Mono:
- Part 1: Installing the Software
- Part 2: Setting up and Configuring MySQL
- Part 3: Walk through porting the ASP.NET MVC website
Upvotes: 2