Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Generated code> Upgrading to 3: The located assembly's manifest definition does not match the assembly reference
 

Pages: 1
Generated code
Upgrading to 3: The located assembly's manifest definition does not match the assembly reference
Page:1/1 

  Print all messages in this thread  
Poster Message
JRR
User



Location:
Western Canada
Joined on:
07-Dec-2005 23:33:05
Posted:
125 posts
# Posted on: 21-Jul-2010 01:20:42.  
I already solved this, just thought I would share.

I ran into this exception while upgrading a project to v3. This was a runtime exception, and not a compile one.

Quote:
System.IO.FileLoadException: Could not load file or assembly 'SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.6.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    C:\xx\LicenseeManager.cs(116): at System.Boolean GeniusCode.AppSupport.BL.Managers.LicenseeManager+Validations.ValidateAdminKey(SD.LLBLGen.Pro.ORMSupportClasses.IDataAccessAdapter adapter, System.String accessKey, System.Guid adminKey, System.Guid& licenseeId, System.String& licenseeName)


I thoroughly checked all my projects but all references pointed to 3.0. I uninstalled 2.6, regenerated (from scratch) my DAL, and tried a few other things, but kept getting the exception at runtime.

I solved it and blogged about it here.

The problem was somehow my executable project was depending on a DAL that depended on 2.6, even though my actual DAL depended on 3.0

Thankfully, removing and re-adding the reference to my DAL fixed the problem.

Wasted 2 days on this one. Sad
  Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
7642 posts
# Posted on: 21-Jul-2010 03:15:18.  
Great post. Thanks for sharing Wink

David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.