I have both SQL Server CE 3.5 and 4.0 installed. In VS2010 WPF, when I add new connection and want to create a database with SQL Server CE 4.0, I only see Microsoft SQL Server Compact 3.5, but not 4.0.
Why?
This is a WPF desktop application, not a Web Project.
you have to update your Visual Studio 2010 to SP1 (from here) to do so. Or you can try to use this tool.