Hullo,
I'm having trou开发者_Python百科ble with the type RedirectToRouteResult
in my code, and when I open up the immediate window and put RedirectToRouteResult
into it then I get the error message:
The type 'System.Web.Mvc.RedirectToRouteResult' exists in both 'System.Web.Mvc.dll' and 'System.Web.Mvc.dll'
I have tried removing the System.Web.Mvc.dll reference and then it just couldn't find RedirectToRouteResult at all.
Anyone have any ideas that could help?
Thanks, Harry
Turns out it was referencing a project that was referencing the System.Web.Mvc.dll
from another location. I changed it to point at the same file and it sorted out the problem
精彩评论