Upgraded to MVC3 Beta, Razor views generate a different base class than a newly created project -


i have been working on website using mvc preview 1 since came out. beta out, have updated system beta.

there not alot of out there upgrading preview 1 beta, , rebuilding caused lot of problems. have done far:

1) copied web.config new mvc3 beta project (to correct sections , values). 2) added references system.web.helpers , system.web.webpages, references match newly created project. 3) changed @import @model per new format.

the problem getting, views in existing project, being derived off of system.web.web.pages , in new project being derived off system.web.mvc.webviewpage<>.

what missing causing base class issue.

you need copy /views/web.config new mvc 3 project - base page class defined


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -