NuGet is a package manager for .NET that is free and open source. Visual Studio has a built-in NuGet extension. With NuGet you can produce and consume packages.
Sitefinity CMS supports NuGet packages and has a public repository.
For more information about using NuGet packages, see Managing NuGet Packages.
To download and use NuGet packages, visit Sitefinity NuGet Repository.
Clear the NuGet cache files. To do this:
To add Sitefinity NuGet Server as a package source in Visual Studio:
All assemblies references are added to the project references.
Each class library in a Sitefinity project has:
The packages.config file lists details regarding the ID and version of each NuGet package in the project. Upon building the project, each NuGet package is restored to the version specified in the packages.config file.
When there is a new version of Sitefinity, you can upgrade the NuGet packages, installed in your project, to their newer versions.
To upgrade the NuGet packages:
Run the following command for each class library: Update-Package <PackageName> -Version <Version> -Source http://nuget.sitefinity.com/nuget
EXAMPLE: Update-Package Telerik.Sitefinity.All -Version 7.0.5109.0 -Source http://nuget.sitefinity.com/nuget
NOTE: If you are upgrading your Sitefinity CMS to a newer version, which requires additional changes to the web.config file, check the Upgrade procedure.
For more information about creating a Sitefinity CMS project using NuGet packages see: Create a project using Nuget packages
For more information about upgrading your Sitefinity CMS website using NuGet packages refer to: Upgrade a project with NuGet package.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important