I don't have a SqlServerCe build?

I am working on a simple WinForms application that uses a .sdf database to store data. I saw this interesting post on how to handle multi-threaded access, which seemed useful. The problem is that I cannot find the System.Data.SqlServerCe assembly. I installed the Sql Server Compact 3.5 SDK, but this link still does not appear on my list of .NET collectors when I go to add the link. What am I missing?

I am using Visual Studio 2010 Ultimate on Windows 7.

+5
source share
4 answers

Go to "Tools" and select "Select Toolbar Elements ..." and select the .Net Framework components and see if any of the SqlServerCe components appears, and then select one of the System.Data.SqlServerCe components, if you then add him in your form, he will add a link to your project.

enter image description here

+7
source

I believe that you need to go to the assembly in order to enable it.

+1
source

Adding my database as a data source solved the problem for me. (Shift + Alt + D), then add a new data source, knowing that my .sdf database is already connected to my project through Data Explorer.

0
source

All Articles