开发者

ASP.NET MVC FileNotFound Error upon Adding Strongly-Typed View

开发者 https://www.devze.com 2022-12-19 02:44 出处:网络
I am an ASP.NET MVC newbie.I am getting a very strange error when I attempt to add a new strongly-type view in my controller.I am using a basic class, with no dependencies, with the View content set t

I am an ASP.NET MVC newbie. I am getting a very strange error when I attempt to add a new strongly-type view in my controller. I am using a basic class, with no dependencies, with the View content set to "List". I am using a master page. The view name is a standard "Index". This used to work just fine but it all of a sudden started giving me this error every time:

Error http://img32.imageshack.us/img32/7707/mvcioerr.png (Thanks for resizing my image, Stack Overflow, instead of putting it in an overflowed container开发者_运维百科 like a gentleman. And also, thanks for giving me no way to turn the image into a hyperlink to the original image)

The name of the DLL changes on the error message every time. I have tried restarting my machine, and that did not work. I do not know what else to try. Can anybody help me resolve this error? It is preventing me from continuing this code binge (which I rarely get to go on), and it is really giving me a bad impression of ASP.NET MVC.

I tweeted to the men, but was ignored.


I think you need to reinstall ASP.NET MVC : Remove both Microsoft ASP.NET MVC and Microsoft ASP.NET MVC - Visual Studio tools from your Control Panel and reinstall ASP.NET MVC. Hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消