NuGet Installer
Last modified: 20 April 2023The NuGet Installer build runner performs NuGet Command-Line Package Restore. It can also (optionally) automatically update package dependencies to the most recent ones.
note
Make sure that sources that you check out from VCS (VCS Settings) include the folder called
packages
from your solution folder.
NuGet Installer settings:
Option | Description |
---|---|
NuGet.exe | Select NuGet version to use from the drop-down list (you need to have NuGet installed), or specify a custom path to
|
Packages Sources | Specify the NuGet package sources. If left blank, http://nuget.org is used to search for your packages. You can also specify your own NuGet repository. If you are using TeamCity as a NuGet repository, specify |
Path to solution file | Specify the path to your solution file (.sln) where packages are to be installed. |
Restore Mode | Select |
Restore Options | If needed, select:
|
Update Packages | Update packages with help of NuGet update command: Uses the |
Update Mode | Select one of the following:
|
Update Options |
|
See NuGet documentation for complete NuGet.exe command line reference.
When you add the NuGet Installer runner to your build configuration, each finished build will have the NuGet Packages tab listing the packages used.
http://blog.jetbrains.com/teamcity/2013/08/nuget-package-restore-with-teamcity/. Administrator's Guide: NuGet Pack | NuGet Publish
Thanks for your feedback!