Iam working in an mvc 2 Rc project.It was working fine until today morning.In the morning i got an error message.
Parser Error Message: The type 'System.Web.Mvc.ViewMasterPage' is ambiguous: it could come from assembly 'C:\Intersight\IntersightWeb\bin\IntersightWeb.DLL' or from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mvc\2.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll'. Please specify the assembly explicitly in the type name.
But in the previous execution it was ok.I tried to fix the above issues in many ways.Please help me to proceed.
There are lots of reasons for that error.
My typical solution for this is : Open your references, go to the properties of System.Web.Mvc and check whether Copy Local is True. If so, try setting it to False and delete the DLL from the bin folder, then Ctrl-F5 again.
Other Fixes:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With