Problem using Add View dialog in ASP.NET MVC RC1 for strongly typed view

后端 未结 2 1104
[愿得一人]
[愿得一人] 2021-01-13 19:41

I like the new Add View dialog that was released with RC1. If you specify a view data class, it generates a scaffolded view for you. It seems to work fine with classes def

相关标签:
2条回答
  • 2021-01-13 19:58

    Yes this is a bug. Please file it on http://codeplex.com/aspnet

    0 讨论(0)
  • 2021-01-13 20:16

    you actually forgot to add the Web.Config file on the View Folder. See this small article : http://www.graytechnology.com/Blog/post/ASPNET-MVC-strongly-typed-view-error-Could-not-load-type.aspx

    It got me scratching my head quite a bit as well in my current project! :)

    0 讨论(0)
提交回复
热议问题