I have a C# application compiled on net 4.5.
I need to create a SQL Server CE 3.5 database file because it will be used on a Windows CE 6 device.
When I create a database from code using
SqlCeEngine en = new SqlCeEngine(connectionString);
en.CreateDatabase();
it's version 4 and not compatible with net compact 3.5
How can I force the SQL Server CE version to 3.5 on net 4.5?