Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

System.Data.SqlClient Package is installed but isnt recognized as a Using statement in Xamarin Forms app

$
0
0

Like the title says, I've installed both the System and Microsoft .Data.SqlClient SQL packages, and my code only recognizes the Microsoft one, but it doesn't recognize the using System.Data.SqlClient; statement. I've done this process before successfully in a console app, but in the XamForms app it doesn't work. As a result, I cannot use the SqlConnection or SqlCommand or SqlDataReader objects which make it a tad bit difficult to make a SQL database app if ya know what I mean.

I want to put my "login" to my SQL server in a separate file so that I can change them easily should I decide to launch this app publicly. My best guess is that I have to do this in a specific part of the XamForms app, but I don't know where if there is a specific spot. For the time being however, I would just like to get the .Data.SqlClient working regardless of where I put it.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>