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

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

Orchard.Framework.dll
my web.config looks right, but no action? Any thoughts, cheers Gil
Coordinator
Sep 2, 2013 at 9:48 PM
You get this error when you do what?
Sep 2, 2013 at 10:44 PM
Hey Bertrand, I managed to sort this out - I found what AMissico said at:
http://stackoverflow.com/questions/1871073/resolving-msb3247-found-conflicts-between-different-versions-of-the-same-depen

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