C# Tutorial
Here we are adding MySql.Data NuGet packages in C# web application prooject as example.
1. Let us consider the visual studio C# ASP.NET project created with 3.5 Framework and need to add MySql.Data package.
2. Please note the already available references in C# project.
3. Go NuGet Package Manager on selcting the Refereces in Project using solution explorer and search the MySql in NuGet Package Manager.
4. Install the MySql.Data latest version and accept license pop up message.
5. Here Latest version of MySql.Data is not compatible with Framework 3.5 project. so need to install compatible different version.
6. Choose different compatible version and lets try the installation.
7. Accept the license.
8. PackageMySql.Data.6.8.8 is installed successfully but automatically references are not updated.
9. Let us see how to add installed NuGet packages manually in project references.
10. Click on add reference option in solution explorer and browse the MySql.Data package under project solution directory as packages directory .
11. Add the MySql.Data dll under lib directory .
11. Now you could add MySql.Data.Sqlclient namespace in C# code and use the MySql classes.
Privacy Policy | Copyright2020 - All Rights Reserved. | Contact us | Report website issues in Github | Facebook page | Google+ page