This project is read-only.

MVC 5 Version issue

Aug 25, 2014 at 9:24 PM
Edited Aug 26, 2014 at 2:32 PM
I have everything installed and have the 2 usings at the top of my file and in my code I have the method containing the sample code you provided for MVC5. I have yet to be able to start testing and modifying it for my purposes because of the following error:

Assembly 'Recaptcha.Web, Version=, Culture=neutral, PublicKeyToken=ed5d2e6fb7aa7814' uses 'System.Web.Mvc, Version=__5.2.0.0__, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=__5.1.0.0__, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

According to my packages, I have MVC5 v5.2 installed.
However, when I look at the WebConfig, it has System.Web.Mvc set to newVersion = I would have expected to see 5.2 in there. The DLL version in the Properties also says 5.1, but my package says 5.2. I'm very confused right now.

Is there something I need to change somewhere? I'm a bit confused. Once I add the sample code, and it tries to compile the site, it gives me the error above.
Aug 28, 2014 at 3:06 PM
Edited Aug 28, 2014 at 3:10 PM
Well, it seems I may have found out the issue. There must be some other assembly in there keeping MVC from letting me use 5.1 in my original project. I started a brand new project (after I installed Update 3; I had started my real project before I had installed Update 3). It seems it has the 5.2 version. It looks like I will need to move my whole project over because I don't have a clue as to what will be causing it only allow access to 5.1.
Marked as answer by seraphx2 on 8/28/2014 at 7:10 AM