여기에 무슨 일이 일어나는지 확실하지 않습니다. 어떤 도움을 주시면 감사하겠습니다..NET MVC 모호한 형식 참조
새로운 .NET MVC 웹 앱을 만들려고합니다. 나는 그것을 올바르게 설정했다 꽤 확신했다, 그러나 나는 다음과 같은 오류 받고 있어요 :
다음과The type 'System.Web.Mvc.ViewPage' is ambiguous: it could come from assembly
'C:\MyProject\bin\System.Web.Mvc.DLL' or from assembly
'C:\MyProject\bin\MyProject.DLL'. Please specify the assembly explicitly in the type name.
가보고 소스 오류가 될 때 :
Line 1: <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
Line 2:
Line 3: <asp:Content ID="indexContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
뭐든지 난 것을 눈에 띄는를 완전히 잘못하고있는거야?
MVC 2에서 MVC 5로 프로젝트를 업그레이드 할 때도 동일한 오류가 발생합니다. ~/및 ~/Views /에있는 두 web.config 파일에서 System.Web.Mvc 버전을 바꿔야합니다. –