How to configure and install SfDataGrid NuGet package in Visual Studio?
The Syncfusion Xamarin NuGet packages are published in public NuGet.org from v15.4.0.17. So, no need of any additional configurations to configure the Syncfusion Xamarin NuGet packages from v15.4.0.17.
If you wish to use the Xamarin NuGet packages then Essential Studio or Xamarin platform installation are not required to implement with Syncfusion Xamarin controls.
NuGet Installation with NuGet.org PackageSource
- Right click on the solution and choose “Manage NuGet Packages for Solution” and select “nuget.org” from Package source.
- The NuGet Packages are listed (under the Browse tab) which are available in package source location. Search for SfDataGrid in the search box.
- Select the project to install the package from the projects list shown and choose the appropriate version of SfDataGrid to be installed from the drop down.
- Install the package to your application by clicking the Install button.
Syncfusion NuGet Server PackageSource Configuration
If you want to utilize the Syncfusion Xamarin NuGet packages from the Syncfusion private NuGet server instead of NuGet.org, follow the below topics to configure and install the Syncfusion Xamarin NuGet packages.
The steps to install the Syncfusion Xamarin NuGet Packages in Visual Studio are as follows:
- In Visual Studio, navigate to “Tools à NuGet Package Manager à Package Manager Settings”, the options dialog will appear on the screen as shows below.
- Select NuGet Package Manager à Package Sources à click Add button to add the Package Name and Package Source of Syncfusion NuGet Packages.
- Name – Name of the package that listed in available package sources
- Source – Syncfusion Xamarin NuGet Package feed
If you have already downloaded the NuGet package from Syncfusion website, enter the local path in the Source field.
NuGet Installation with Syncfusion PackageSource
Once the package source is configured, Syncfusion.Xamarin.SfDataGrid NuGet package can be installed. The NuGet installation steps are shown below:
- Once configured the Package source with Syncfusion NuGet feed, right click on the solution and choose “Manage NuGet Packages for Solution” and select “Syncfusion Xamarin Packages” from Package source.
- The NuGet Packages are listed (under the Browse tab) which are available in package source location. Search for SfDataGrid in the search box.
- Select the project to install the package from the projects list shown and choose the appropriate version of SfDataGrid to be installed from the drop down.
- Install the package to your application by clicking the Install button.
Conclusion
I hope you enjoyed learning about how to configure and install SfDataGrid NuGet package in Visual Studio.
You can refer to our Xamarin.Forms DataGrid feature tour page to know about its other groundbreaking feature representations. You can also explore our Xamarin.Forms DataGrid documentation to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!