Could not load file or assembly error in Visual Studio 2012

I was getting this strange error opening up a website solution in Visual Studio 2012.

Reference.svcmap: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. App_WebReferences/WebServiceName/

Turns out I’m not alone, there are a number of people suffering from this problem.

Could not load file or assembly error
Could not load file or assembly ‘System.Web.Mvc’

I think the best solution is on Chris Towles blog, just adjust your Service Reference Settings to disable “Reuse types in references assemblies”. Problem solved. 😉

Advertisements

Published by

Alan Feekery

Developer, Gamer, Musician, Cyclist and big Motorsport fan... enjoys the odd cup of coffee :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s