Pergunta

I have about 3 old Windows Mobile 5 projects that connect to our SQL Server database using the System.Data.SqlClient namespace.

Recently, I had to upgrade my instance of SQL for my local machine to include Integration Services. It took several tries to install it, with all of them failing. Finally, I simply removed all of the SQL programs from this PC, and installed SQL Server 2008 with Integration Services. (I would not wish that on anyone)

Now, it seems that my copy of Visual Studio 2008 Professional has lost the System.Data.SqlClient package.

Currently, I have the following SDKs installed:

Still, SQL Client is not found in my list of references, so I can't just add it.

What do I still need to do?

Reference List

Foi útil?

Solução

It's non-intuitive, but you need the SQL Compact bits. Note the location of the binary below:

enter image description here

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top