Install SfNuGet Packages in Visual Studio 2017 using Miscellaneous
You may encounter NuGet package installation or restore errors when installing Syncfusion® NuGet packages from the public feed URL in Visual Studio 2017 due to an issue with NuGet.Client. As a temporary workaround, enable only the required platform-specific Syncfusion® NuGet feed or configure the full Syncfusion® NuGet feed. Follow the steps below to install the packages in Visual Studio 2017 without issues.
- From Visual Studio 2017 select Tools->NuGet Package Manager ->Package Manager Settings, and the Options dialog will open.
- Navigate to NuGet Package Manager->Package Sources from Options dialog.
- We can configure the Package sources as below variations to install the Syncfusion NuGet packages without issues.
A)Single Feed Link Configuration
i)Uncheck or Remove the unwanted package sources and enable required Syncfusion platform alone which we need to install.
ii)Then click OK button. Now open the NuGet Package Manager by right click the Project->Mange NuGet Packages and choose Package source as required one. Then install the required NuGet as per your need.
B)Multiple Feed Link Configuration
i)If you need to keep the multiple Syncfusion platforms feed links in package sources, we need to configure the Syncfusion NuGet full feed links for configured platform (if already configured short feed links) since NuGet Package Manger have URL redirection issue. Please find the Syncfusion NuGet Package full feed links for Syncfusion platforms.
ii)Then click the OK button. Now open the NuGet Package Manager by right-clicking the Project->Mange NuGet Packages and choose Package source as All. Then search and install the required Syncfusion NuGet package as per your need.