Search code examples
asp.net-mvcasp.net-mvc-4piranha-cms

Getting Piranha CMS working with MVC


I'm quite interested in Piranha, but unfortunately getting it up and running following these instructions is frustrating.

When I follow these instructions (I tried 3 times) and run the site I just get "The resource cannot be found".

From the routing supplied it's clearly looking for /Home/Index, but that's not as part of the solution. I added the Home controller, but by itself it does nothing. Browsing to /Page/Index results in "The resource cannot be found" too.

I'm supposed to see an installation screen, but where is it?


Solution

  • I managed to reproduce the error when creating an new Web application > MVC > Empty in Visual Studio 2013. Creating an empty MVC application in Visual Studio 2012 does not produce the same result.

    Opening the project created in VS2012 in VS2013, recompiling it and running it doesn't produce the same error so there's obviously something different in how the projects are created which I'll have to look into.

    Can you confirm that you are using VS2013?