You can use the Syncfusion ASP.NET MVC NuGet packages without installing the Essential Studio or ASP.NET MVC platform installation to implement the Syncfusion ASP.NET MVC controls.
The NuGet Package Manager can be used to search and install NuGet packages in the Visual Studio solution or project:
Manage NuGet Packages…
Alternatively, click Tools in 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 If NuGet.org
is not configured in your Visual Studio, refer to the Microsoft docs to configure NuGet.org
feed URL in your Visual Studio.
Note: The Syncfusion NuGet packages are published in public NuGet.org from
v16.2.0.46
. So, If you need to Install earlier version of16.2.0.46
Syncfusion NuGet packages, configure Syncfusion private feed URL.
To reference the Syncfusion ASP.NET MVC UI Control 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 specified project
Install-Package <Package Name> - ProjectName <Project Name>
For example:
# install specified package in default project
Install-Package Syncfusion.EJ2.MVC5
#install specified package in specified project
Install-Package Syncfusion.EJ2.MVC5 -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. Select the appropriate feed name.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.
Note: 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 the package.config
or solutions file that lists the packages utilized in the project.
For example:
#install specific package for Windows
nuget.exe install “Syncfusion.EJ2.MVC5”
#install all package which mention in package.config path for Windows
nuget.exe install “C:\Users\SyncfusionApplication\package.config”
#install specific Syncfusion NuGet package for Windows
nuget.exe install “Syncfusion.EJ2.MVC5”
#install all package which mention in package.config path for Mac and Linux
mono nuget.exe install “C:\Users\SyncfusionApplication\package.config”
Note: If you need to Install
v16.2.0.46
before Syncfusion NuGet packages, configure Syncfusion private feed URL.
NuGet packages can be updated to their specific version or latest version available in the Visual Studio solution or project:
Using Update context menu from Visual Studio for Mac application, NuGet packages can be updated:
To update all the projects from solution, use update option in the solution level.
To update the installed Syncfusion ASP.NET MVC 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 specified project
Update-Package <Package Name> - ProjectName <Project Name>
For example:
#Update specified Syncfusion ASP.NET MVC NuGet package
Update-Package Syncfusion.EJ2.MVC5
#Update specified package in specified project
Update-Package Syncfusion.EJ2.MVC5 -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
nuget update
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.