Child pages
  • NuGet support

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

The plugin is bundled since TeamCity 7.0. The recent version is described in the online documentation for the latest TeamCity version.

General Info

Author

Eugene Petrenko

License

Apache 2.0

Type

free, open-source

Download

Last nightly build on public TeamCity server.

Plugin Description

Adds support of .NET Package Managers for NuGet to TeamCity. In current state it provides first-class support of NuGet.

Supported features:

  • NuGet packages installer build runner:
    • installs packages according to David Ebbo post allowing to use NuGet without committing packages to version control.
    • updates packages under solution with help of nuget update command
  • NuGet Dependency Trigger:
    • Build Trigger that starts a new build if package is updated
  • Report used packages in build results tab
  • Publish packages build runner

Related Blog Posts

  • Publish packages build runner post
  • Initial features post

TeamCity Versions Compatibility

Plugin is compatible with TeamCity 6.5 and newer

Download

From GitHub
Builds at teamcity.jetbrains.net

Download latest build of plugin [here|

From GitHub

Building

Builds at public TeamCity server 

Current latest development branch: v0.15 (compatible with TeamCity 10.x)
For TeamCity 6.5.x use branch: v0.5-bugfix
For TeamCity 7.1.x use branch: v0.8
For TeamCity 8.0.x use branch: v0.10
For TeamCity 8.1.x use branch: v0.11
For TeamCity 9.0.x use branch: v0.12
For TeamCity 9.1.x use branch: v0.13
For TeamCity 10.0.x use branch: v0.14
For TeamCity 2017.x use branch: v0.15


Public repository mirror: http://git.jetbrains.org/teamcity/dotNetPackagesSupport.git
Public repository clone URL: git://git.jetbrains.org/teamcity/dotNetPackagesSupport.git

A mirror at GitHub

Building

  • First build .Net part of the plugin: msbuild nuget-extensions/nuget-extensions.sln /t:Rebuild /p:Configuration=

...

  • Release
  • Then Java part and TeamCity plugin distribution: open the sources in InteliJ IDEA and build artifact plugin-zip

Installation instructions:

...

Copy dotNetPackagesSupport.zip into <TeamCity Data Directory>/plugins

...

Issue tracker

We need your feedback and usage scenarios.
Feel free to post issues to YouTrack or email to teamcity-feedback@jetbrains.com or use GitHub

directory (more on this).

Feedback

Like the feature or want an improvement? Found a bug?
Please send Feedback for the plugin as for bundled functionality, just note the plugin version that you use.

Original issue in the tracker.

Update to fresh build

You may want to update to the latest build of the NuGet support plugin. The current latest plugin branch is v0.14, the branch is compatible with TeamCity 9.1 and newer. To apply a patch, do the following:

  • download the latest build from v0.14 branch
  • stop server,
  • find <server>/webapps/ROOT/WEB-INF/plugins/dotNetPackagesSupport.zip
  • backup the original file
  • replace with downloaded from latest build artifacts
  • start server again