I have using Sql Compact edition 4.0
as Database,My application is on WPF (.Net framework 4.0)
. At the time of making executable file facing error as below
Could not load file or assembly 'System.Data.SqlserverCe, version=4.0.0.1,culture=neutral,publicKeyToken=89845dcd8080cc91' or one of its dependencies located assembly's manifest definition does not match the assembly reference.(Exception from HRESULT:0x80131040).
Please help anyone to solve this...I have added extra folder as per one of the answer. MicrosoftSqlServerCompact/v4.0/private.
and also added references of two dll from that folder.
Thank you in advance...
located assembly's manifest definition does not match the assembly reference
Application expecting a version of the dll other than what is available. basically you have added dll with different version.
I have solved this by changing framework of both and its work perfectly. Thanks! @kurubaran
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.