Book Image

Learning Continuous Integration with TeamCity

Book Image

Learning Continuous Integration with TeamCity

Overview of this book

Table of Contents (19 chapters)
Learning Continuous Integration with TeamCity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

NuGet and TeamCity


We have been mentioning NuGet in passing in previous sections of this chapter. NuGet is a package manager for .NET (and Windows). The client tool of NuGet enables us to create and install packages. The NuGet gallery (http://www.nuget.org/packages) is the online feed/repository of NuGet packages. The NuGet extension for Visual Studio allows us to manage NuGet packages for a solution from Visual Studio.

The following screenshot shows the Manage NuGet Packages dialog that can be accessed from the Tools | Library Package Manager | Manage NuGet packages for Solution menu item:

Installing the NuGet command-line client

The NuGet.exe client can be downloaded from http://nuget.org/nuget.exe. The NuGet.exe file can be downloaded and added to PATH as needed.

Installing NuGet.exe on TeamCity agents

TeamCity provides a very simple way to install NuGet.exe on all the applicable build agents. Through this mechanism, we can maintain the NuGet.exe versions on the agents directly from TeamCity...