Hi @zequion ,
Please try the following steps.
- Clear NuGet Cache: Sometimes, NuGet caches packages locally. Clearing the NuGet cache can help resolve any caching issues. You can do this by going to Tools > Options > NuGet Package Manager > General, and clicking on "Clear All NuGet Cache(s)".
- Check Project File: Open your .csproj file and check if the correct version of System.Data.SqlClient is specified there. Sometimes, the project file might have a different version specified, which could cause conflicts.
- Update Package Manually: If the NuGet package manager is not updating the reference correctly, you can try manually updating the package reference in your project file. You can do this by editing the .csproj file and updating the version number of System.Data.SqlClient to 4.8.6.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.