There are currently two ways to install Vendr into your solution. Using the Umbraco package distribution of Vendr, installed via the Umbraco back-office, or using our NuGet packages, installed directly into your projects code base via the NuGet Package Manager. Where possible, it is our recommendation to use the NuGet packages as these allow a great level of ease/control when upgrading later on.
Umbraco Package Installation
To install the Vendr Umbraco package, you can navigate to the Packages section in your back-office and then search to find the Vendr package in the central Umbraco package repository. Once located, you can click the package entry and follow the on-screen instructions provided to complete the install.
Alternatively, you can download the Umbraco package file from the Umbraco Developer Portal and install it manually by uploading it to the local package installer located in your back-office Packages > Install Local section. Once uploaded, follow the on-screen instructions provided to complete the install.
NuGet Package Installation
Vendr is also available via NuGet.Org.
To install Vendr via NuGet you can run the following command directly in the NuGet Manager Console window:
PM> Install-Package Vendr
Alternatively, you can also find and install the NuGet package via the NuGet Package Manager GUI. You will see a number of packages available, however you will want to install the main Vendr package.
For most basic sites using a single solution/project, this should be all you need to install Vendr into your project. If you have a more complex solution structure however, consisting of multiple projects, Vendr is available in multiple sub-packages with varying dependencies.
- Vendr.Core The core Vendr functionality that doesn't require a web context.
- Vendr.Web The core Vendr functionality that requires a web context.
- Vendr The main Vendr package containing all DLL's and web project files.
Upgrading
Vendr uses Umbraco Migrations to install all of it's features meaning upgrades follow the exact same process as the installation processes detailed above, installing the latest version of a package over the top of the existing package installation. Vendr is then clever enough to detect the current state of your site and only install the features that are missing.
Installing a License
Once you have purchased a license you can install it by dropping the license file directly into your sites App_Data
folder. Vendr will automatically scan this directory for any valid licenses.
If you need to store your licenses in an alternative directory, you can change where Vendr looks for licenses by setting a UmbracoLicensesDirectory
app setting with a path to the alternative location.