You can use the Syncfusion ASP.NET Core NuGet packages without installing the Essential Studio or ASP.NET Core platform installation to implement the Syncfusion ASP.NET Core controls.
Alternatively, click Tools, menu, NuGet Package Manager | Manage NuGet Packages for Solution.
NuGet.org
package is selected in the Package source drop-down. Select your appropriate feed name that you configured.
To reference the Syncfusion ASP.NET Core component using the Package Manager Console as NuGet packages, follow the below steps
#install specified package in default project
Install-Package <Package Name>
#install specified package in default project with specified package source
Install-Package <Package Name> -Source <Source Location>
#install specified package in specified project
Install-Package <Package Name> - ProjectName <Project Name>
For example:
#install specified package in default project
Install-Package Syncfusion.EJ2.AspNet.Core
#install specified package in default project with specified Package Source
Install-Package Syncfusion.EJ2.AspNet.Core -Source “http://nuget.syncfusion.com/nuget_aspnetcore-js2/nuget/getsyncfusionpackages/aspnetcore-js2”
#install specified package in specified project
Install-Package Syncfusion.EJ2.AspNet.Core -ProjectName SyncfusionDemoApplication
Add packages can be used to search and install NuGet packages to the Visual Studio project in macOS:
NuGet.org
package is selected in the Package source drop-down.The NuGet Command Line Interface (CLI), nuget.exe
, provides the full extent of NuGet functionality to install, create, publish, and manage packages without making any change to the project files.
To update the existing
nuget.exe
to latest version use the following command:
nuget update -self
package.config
.#install specified package in default project from specified package source for Windows Platform
nuget.exe install <Package name | ConfigFilePath > <Options>
#install specified package in default project from specified package source for MAC/Linux Platform
mono nuget.exe install <Package name | ConfigFilePath > <Options>
configPath
is optional. This identifies thepackage.config
or solutions file that lists the packages utilized in the project.
For example:
#install specific package for Windows
nuget.exe install Syncfusion.EJ2.AspNet.Core”
#install all package which mention in package.config path for Windows
nuget.exe install “C:\Users\SyncfusionApplication\package.config”
#install specific package for Mac and Linux
mono nuget.exe install “ Syncfusion.EJ2.AspNet.Core”
#install all package which mention in package.config path for Mac and Linux
mono nuget.exe install “C:\Users\SyncfusionApplication\package.config”
NuGet Package Manager | Manage NuGet Packages for Solution
.To update all the projects from solution, use update option in the solution level.
To update the installed Syncfusion ASP.NET Core NuGet packages using the Package Manager Console, follow the below steps
#Update specific NuGet package in default project
Update-Package <Package Name>
#Update all the packages in default project
Update-Package
#Update specified package in default project with specified package source
Update-Package <Package Name> -Source <Source Location>
#Update specified package in specified project
Update-Package <Package Name> - ProjectName <Project Name>
For example:
#Update specified Syncfusion ASP.NET Core NuGet package
Update-Package Syncfusion.EJ2.AspNet.Core
#Update specified package in specified project
Update-Package Syncfusion.EJ2.AspNet.Core -ProjectName SyncfusionDemoApplication
Using the NuGet CLI, all the NuGet packages in the project can be updated to the available latest version.
To update the existing
nuget.exe
to latest version use the following command:
nuget update -self
#update all NuGet packages from config file
nuget update <configPath> [options]
#update all NuGet packages from specified Packages Source
nuget update -Source <Source Location> [optional]
configPath
is optional. This identifies thepackage.config
or solutions file lists the packages utilized in the project.
For example:
#Update all NuGet packages from config file
nuget update “C:\Users\SyncfusionApplication\package.config”
Update command is not working as expected in Mono (Mac and Linux) and projects using PackageReference format.