How does Visual Studio Team Services manage custom or in-house dependencies?

Brett Rigby

I have a custom build-process that uses a combination of NAnt, Maven Ivy, CruiseControl.Net and a few others to manage the dependencies and handle the continuous integration build process for our projects. And it works great, in all honesty.

One relatively important part in-particular for us, is the ability for us to get an exact version of any given dependency (.dll, .xml. .whatever) from our shared Ivy repository is absolutely paramount to our work, due to different applications requiring different versions of a particular library for different reasons/purposes.

However - I am currently looking into Visual Studio Team Services (http://visualstudio.com) and am experimenting my way along the code check-in/auto-build process, except I cannot see where or how I manage my external/third-party dependencies.

Using Maven's Ivy dependency management/configuration tool, the process is pretty-much flawless and have so much faith in it - what is the Team Services equivalent to this?

My best findings online after hours of searching seems to suggest the NuGet be used for this, and make custom packages for each of my dependencies, but then where/how are these stored and accessed by the Team Services continuous integration build process? Can I store my packages in a NuGet server within Azure? Can I be sure that this is used only by myself?

The best SO posts that I've found so far are:

...but these still leave me unanswered and maybe I am right off track with this, but need to understand the dependency management process that TFS will follow.

jessehouwing

TFS and Visual Studio don't have a dependency management tool built-in like Maven Ivy. NuGet is indeed the closest you get, but it's all configured at the solution level and checked into source control. You even need to run your own NuGet server, since TFS doesn't ship with one (unless you want to push them to a public repository, which you'd normally not want).

There are a number of 3rd party solutions that, but the out-of-the-box features simply come down to:

  • Check the dependencies into source control (you can change the build process template to do so at the end of a successful build. Your build can always reference the relative path to the required dependency. If you want to be able to change the dependency version without having to change the project files, you can use Workspace mappings to map a specific version of a dependency to a specific folder on the build.
  • Configure your build to get NuGet packages and configure your own NuGet server where these packages can be found. TFS 2013 and Visual Studio Online can now automatically fetch NuGet dependencies on build. Which packages are downloaded is still stored in config files in source control, but you can use the NuGet packages file to lock the version or always get a specific tag or version.
  • Change the Build process template. This is the most extensive step you can take, but arguably also the most powerful. The default build process template, especially the .12.xaml versions are very simple and straight forward, but you can change the template to do just about anything you want. Grabbing specific dependencies from anywhere could certainly be one of the options. You could also let the Build Process template integrate into Maven Ivy if you'd want to.

As for 3rd party options, TeamCity was mentioned, though it adds a NuGet server, which is pretty easy to host yourself. As might others, but discussing which 3rd party solution might be better than others is against StackOverflow policies.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Is There A Way To Backup Visual Studio Team Services Projects?

From Dev

Visual Studio Team Services Import History

From Dev

VisualStudio.com (Visual Studio Team Services) builds failing on nuget package dependencies

From Dev

TeamCity and git repository with Visual Studio Team Services

From Dev

Visual Studio Team Services Reporting

From Dev

Visual Studio Team Services - how to change language?

From Dev

How to set up a symbol server for Visual Studio Team Services

From Dev

How to connect Visual Studio Code to Visual Studio Team Services

From Dev

How to Label Source upon successful build on Visual Studio Team Services

From Dev

How do I authenticate to Visual Studio Team Services and Team Foundation Server with a Personal Access Token?

From Dev

How to manage requirements (specifications) on Visual Studio Team Services (TFS)?

From Dev

Visual Studio Team Services - Waiting for an available agent

From Dev

Empty build artifacts in Visual Studio Team Services

From Dev

How do I connect an existing solution in Visual Studio 2015 to an existing Project in Visual Studio Team Services Project

From Dev

How to migrate work items from TFS to Visual Studio Team Services

From Dev

Visual Studio Team Services Rest API - How to get 'TeamContext'?

From Dev

How to deploy a static website to Azure from Visual Studio Team Services

From Dev

How to link to latest build on Visual Studio Team Services

From Dev

How do i create a branch in Visual Studio Team Services?

From Dev

How to prevent users from viewing settings and permissions on Visual Studio Team Services (formerly Team Foundation Service)

From Dev

Visual Studio Team Services Reporting

From Dev

how to create sub task in Visual Studio Team Services API

From Dev

How to connect Visual Studio Code to Visual Studio Team Services

From Dev

How do I connect an existing solution in Visual Studio 2015 to an existing Project in Visual Studio Team Services Project

From Dev

How to deploy a static website to Azure from Visual Studio Team Services

From Dev

How to query Visual Studio Team Services for historic data for reporting purposes?

From Dev

How does Visual Studio Team Services Transport Secret Variables?

From Dev

How do you make a custom Visual Studio Team Services build task fail (using PowerShell)?

From Dev

How to setup CodeDX plugin for Visual Studio Team Services?

Related Related

  1. 1

    Is There A Way To Backup Visual Studio Team Services Projects?

  2. 2

    Visual Studio Team Services Import History

  3. 3

    VisualStudio.com (Visual Studio Team Services) builds failing on nuget package dependencies

  4. 4

    TeamCity and git repository with Visual Studio Team Services

  5. 5

    Visual Studio Team Services Reporting

  6. 6

    Visual Studio Team Services - how to change language?

  7. 7

    How to set up a symbol server for Visual Studio Team Services

  8. 8

    How to connect Visual Studio Code to Visual Studio Team Services

  9. 9

    How to Label Source upon successful build on Visual Studio Team Services

  10. 10

    How do I authenticate to Visual Studio Team Services and Team Foundation Server with a Personal Access Token?

  11. 11

    How to manage requirements (specifications) on Visual Studio Team Services (TFS)?

  12. 12

    Visual Studio Team Services - Waiting for an available agent

  13. 13

    Empty build artifacts in Visual Studio Team Services

  14. 14

    How do I connect an existing solution in Visual Studio 2015 to an existing Project in Visual Studio Team Services Project

  15. 15

    How to migrate work items from TFS to Visual Studio Team Services

  16. 16

    Visual Studio Team Services Rest API - How to get 'TeamContext'?

  17. 17

    How to deploy a static website to Azure from Visual Studio Team Services

  18. 18

    How to link to latest build on Visual Studio Team Services

  19. 19

    How do i create a branch in Visual Studio Team Services?

  20. 20

    How to prevent users from viewing settings and permissions on Visual Studio Team Services (formerly Team Foundation Service)

  21. 21

    Visual Studio Team Services Reporting

  22. 22

    how to create sub task in Visual Studio Team Services API

  23. 23

    How to connect Visual Studio Code to Visual Studio Team Services

  24. 24

    How do I connect an existing solution in Visual Studio 2015 to an existing Project in Visual Studio Team Services Project

  25. 25

    How to deploy a static website to Azure from Visual Studio Team Services

  26. 26

    How to query Visual Studio Team Services for historic data for reporting purposes?

  27. 27

    How does Visual Studio Team Services Transport Secret Variables?

  28. 28

    How do you make a custom Visual Studio Team Services build task fail (using PowerShell)?

  29. 29

    How to setup CodeDX plugin for Visual Studio Team Services?

HotTag

Archive