Trying to debug the source code of ASP.NET MVC 1.0, I followed these instructions: these basically removed the link to system.web.mvc from my web project and add the source project that I downloaded instead.
Now I have this problem,
The type "System.Web.Mvc.FormMethod" exists in both 'c: \ Windows \ assembly \ GAC_MSIL \ System.Web.Mvc \ 1.0.0.0__31bf3856ad364e35 \ System.Web.Mvc.dll' and in my AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ dbcbb149 \ 897fc019 \ build \ DL3 \ 796c00fb \ f345f2d6_abe3c901 \ System.Web.Mvc.DLL '
I tried to comment from web.config
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
but it will give a difference error
The type "System.Web.Mvc.Controller" is defined in an assembly that is not a reference. You must add a link to the assembly 'System.Web.Mvc, Version = 1.0.0.0, Culture = Neutral, PublicKeyToken = 31bf3856ad364e35'.
Can someone help in what goes wrong and how to fix it. Thank you very much!
Ray
debugging asp.net-mvc
Ray fan
source share