“The resource cannot be found.” ASP.NET MVC 2.0 RC and Visual Studio 2010 RC
-
21-09-2019 - |
Question
I opened a solution in Visual Studio 2010 RC that I previously created using Visual Studio 2008 and ASP.NET MVC 2.0 RC using the 3.5 framework. When I tested it I received a 404 error. I tried adding the default page as described in this post but got an invalid route error.
Anyone else ran into this?
Solution
See the comment from andlju:
"That does sound oddly familiar.. I think I "solved" this by creating an MVC 2 project from scratch in VS 2010 and then importing my old Views/Controllers etc. I'm sure there's a better way though."
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow