Milon Sarker
Milon Sarker

Reputation: 478

Assembly Mismatch

I'm facing this error. How could I overcome this error? I am new in Entity Framework. Any help would be very much appreciated..

Assembly 'HRMSDataAccessLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' which has a higher version than referenced assembly 'EntityFramework, Version=4.1.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'

Upvotes: 1

Views: 607

Answers (1)

Tauseef
Tauseef

Reputation: 2052

Add the reference for the higher version in your solution.

Assembly 'HRMSDataAccessLayer, .. uses 'EntityFramework, Version=4.4.0.0, ...
which has a higher version than referenced assembly 'EntityFramework, Version=4.1.0.0,

You need to add the reference for the Entity framework version 4.4.0.0

Hope that helps.

Upvotes: 0

Related Questions