Error with EnterpriseLibrary 5.0.414.0 after opening the project with VS2012

Topics: Enterprise Library Core
Sep 6, 2012 at 6:18 AM

Hi,

I have a website written in VS2010 that uses a web reference to a service that uses EnterpriseLibrary 5.0.414.0.

 

When i worked with VS2010 everything was ok, but once i opened it with VS2012 RTM i started getting the following error (i get the same error when i open the project in VS2010 too)

 

Reference.svcmap: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

 

Please advise

 

Thanks

Ronen

Sep 6, 2012 at 4:10 PM

What if you remove and re-add the web reference in VS2010?

--
Randy Levy
Enterprise Library support engineer
entlib.support@live.com 

Sep 23, 2012 at 7:14 AM

Tried that but didn't help.

 

Is it possible that VS2012 messes things up with EnterpriseLibrary? it's a asp.net 4.0 site that worked fine until i installed VS2012 and opened it.  It still works fine for the one's that didn't install VS2012 yet.

 

Ronen

Sep 23, 2012 at 1:08 PM

The message says that there is a reference to an unsigned (debug?) version of Enterprise library (PublicKeyToken=null).  Just curious if you are using an unsigned,  custom build version of Enterprise Library?

I couldn't reproduce the issue.  Can you outline the steps to recreate the issue?

--
Randy Levy
Enterprise Library support engineer
entlib.support@live.com