Last post Dec 31, 2017 04:15 PM by Yossu
Dec 31, 2017 03:36 PM|Yossu|LINK
I have a web site that was developed in MVC4, and want to upgrade to MVC5. I was following the
instructions on this page. I updated/removed the Nuget packages as instructed, didn't need to update web.config as the changes had already been made, rebuilt and ran, and got the error shown in the title.
The error message includes the following...
The request for 'Home' has found the following matching controllers:
Now, the first of those is the one in my web site. The second is one in a Nuget package our company developed to share common code around the various projects. This wasn't an issue before, so I'm not sure why it has become an issue now.
Looking around, the answer to the problem always seems to follow one of two forms...
Anyone any ideas what I do now?
Dec 31, 2017 04:15 PM|Yossu|LINK
OK, turned out to be ghost reference to a DLL that shouldn't have been there! Deleted that and it worked.
Not sure why this was only a problem after upgrading, but it's fixed now.