Cora Paunović
Cora Paunović

Reputation: 305

System.Data.SqlClient is not in my assembly references

I'm using Visual Studio 2019. Simply put, System.Data.SqlClient isn't in my assembly references. Can anyone help me out with this one? I can't find anywhere to like, download the file online.

Upvotes: 1

Views: 536

Answers (1)

Matt Ghafouri
Matt Ghafouri

Reputation: 1577

In the solution window

1- Right click on your project

2- select Manage Nuget packages

3- select the Browse tab

4- type 'System.Data.SqlClient' in the search box

5- you will see the package and install it, you just need to select the founded package and press Install button on the right side.

Upvotes: 5

Related Questions