Quick Links

SqlConnection compile error

I have a base xforms project and while attempting to use System.Data.SqlClient.SqlConnection I get these two compile errors.

Error CS7069 Reference to type 'Component' claims it is defined in 'System', but it could not be found
Error CS7069 Reference to type 'ICloneable' claims it is defined in 'mscorlib', but it could not be found

The wiki says its implemented in at least the normal references, but doesn't say one way or another in pcl. And I need it to be exactly using an sql connection to a remote database for what I am using it for. I am not using it for local storage, but instead with a compile time t4 template.

Hi @DreamC0der, I'm getting the same error and same as you I need to connect to a remote database using a sql connection (not throught webservices in between). How you finally solved your problem? Thank you ;-)