We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to configure package source and install Syncfusion NuGet packages in an existing project?

Platform: Xamarin.Forms |
Control: SfDataGrid
Tags: general

The best practice to update Xamarin controls in an existing project is by “configuring the NuGet packages”.

Configuring NuGet packages in Xamarin Studio:

To configure Syncfusion’s NuGet package in Xamarin Studio, follow the steps below:

  1. In the project, right-click on the Packages item and select Add Packages.

 C:\Users\suhasini.suresh\AppData\Local\Microsoft\Windows\INetCacheContent.Word\Screen Shot 2017-02-14 at 9.37.06 AM.PNG

 

  1. The Add Packages dialog box appears on the screen. Select Configure Sources, on the drop-down box that appears in the left corner of the dialog box.

 

select Configure source

  1. The Preferences dialog box now appears on the screen. Click the Add button, and a pop-up window appears on the screen.
  2. Provide the following credentials:

Name: Give a name to the NuGet Package (e.g., Syncfusion Nuget)

Location: Syncfusion NuGet package URL:        http://nuget.syncfusion.com/nuget_xamarin/nuget/getsyncfusionpackages/xamarin

 

Add nuget source

 

  1. Click Add Source and then Ok button.

 

To install the Syncfusion controls from the Syncfusion’s NuGet package in Xamarin Studio, follow the steps below:

  1. In the project, right-click on the Packages item, select Add Packages, and the Add Packages dialog box appears on the screen.
  2. Select Syncfusion Nuget, on the drop-down box that appears in the left corner of the dialog box.

Select package

 

  1. Select the required Syncfusion components and then click the Add Package button.

 

Configuring NuGet packages in Visual Studio:

To configure the Syncfusion’s NuGet package in Visual Studio, follow the steps below:

  1. In Visual Studio, select Tools -> NuGet Package Manager -> Package Manager Settings, and the Options dialog box appears on the screen.

select Package Manage settings

  1. Select NuGet Package Manager -> Package Sources, and then click the Add button to add a NuGet Package.
  2. A new package will be added. Give the following credentials to the newly added package:

Name: Give a name to the NuGet Package (e.g., Syncfusion Components)

Source: Syncfusion NuGet package URL: http://nuget.syncfusion.com/nuget_xamarin/nuget/getsyncfusionpackages/xamarin

  1. Click the Ok button, and the Syncfusion NuGet package will be successfully created for the Visual Studio.

Add package source

 

To install the Syncfusion controls from the Syncfusion’s NuGet package in Visual Studio, follow the steps below:

  1. Once the NuGet package is configured, the controls can be installed to the project, right-click on the project, Select Manage NuGet Packages, and the NuGet window will appear on the screen.
  2. In the Package source, choose Syncfusion Components, and under the Browse tab, the list of Syncfusion controls will be available. Select the required control and click the Install button.

install required package by clicking install button

 

Please refer to this document for how to install the Syncfusion Custom Patch NuGet.

 

2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile