简体   繁体   中英

“The resource cannot be found.” ASP.NET MVC 2.0 RC and Visual Studio 2010 RC

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?

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."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM