Articles in this section
Category / Section

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

6 mins read

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.

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied