The view '~/Views/Login/Login.aspx' must derive from ViewPage, ViewPage, ViewUserControl or ViewUserControl

前端 未结 2 967
梦谈多话
梦谈多话 2021-01-16 16:19

So I am getting this error on ASP.NET mvc2 solutions that used to work fine. I had to install Visual Studio 2012 and was running low on disk space, so had to manually uninst

2条回答
  •  心在旅途
    2021-01-16 17:02

    Well it seems like this problem can happen if something happenes with the installation of the .NET Framework 4.0. If you get this error try uninstalling anything you installed recently which might have altered the .NET framework installation.

提交回复
热议问题