🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
Possible file version mismatch detected between ADO.NET Provider and native binaries of SQL Server Compact

Possible file version mismatch detected between ADO.NET Provider and native binaries of SQL Server Compact ===

A possible file version mismatch between ADO.NET Provider and native binaries of SQL Server Compact was detected and could result in incorrect functionality. This could occur due to the presence of multiple instances of SQL Server Compact of different versions or due to the wrong binaries with the same name as SQL Server Compact binaries. Please install the SQL Server Compact binaries of the matching version.

You have built and published to a 32-bit site from a 64-bit machine, and the x86 binaries for SqlServerCompact are missing.

We think this can be handled by setting CopyAlways instead of CopyWhenNewer on SqlCompact dlls in modern distributions.