ERROR Assembly 'Orchard.Framework, Version= which has a higher version than referenced...

Topics: Troubleshooting
Sep 2, 2013 at 9:21 AM
Hey guys, I cant for the life of me work out why i'm getting this compile error:
Assembly 'Orchard.Framework, Version=, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

my web.config looks right, but no action? Any thoughts, cheers Gil
Sep 2, 2013 at 8:48 PM
You get this error when you do what?
Sep 2, 2013 at 9:44 PM
Hey Bertrand, I managed to sort this out - I found what AMissico said at:

re: VS "lying" to be 100% accurate in my case. For when I would check System.Web.MVC in my custom modules references, it was displaying as Version 4 - but once I deleted OBJ, BIN, Debug etc., removed the reference and re-added it - it worked. So I can only assume that it was indeed still using version 3 somehow, even though VS said it wasn't -- so frustrating?

Anyhow, thanks for the reply and hopefully this may help someone else out in the future, cheers Gil