V
V
Vyacheslav Tariko2015-07-31 12:48:56
Programming
Vyacheslav Tariko, 2015-07-31 12:48:56

How to use files from neighboring team projects in TFS 2012?

My team project, like a number of others, refers to one project with shared libraries, lying separately (so that everyone who accesses it gets the same version, and not to change each one). But when building on the machine that builds my project, these shared libraries are not loaded and the process crashes with an error about a namespace not found. Is there any way to automate this process?
I can write a pre-build script that will get the latest version of the required libraries and place it in the correct directory.
Are there other ways?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kano, 2015-07-31
@bioengineer

For example, you can make a nuget repository with the latest builds of all libraries, you can even mess with versioning.
You can generally use a git repository (tfs allows you to do this) with its submodule system, but other problems may come up here.
The simplest is still a local nuget repository by describing it in the nuget.config file at the root of the solution

<configuration>
  <packageSources>
    <add key="local.nuget" value="\\local.nuget" />
  </packageSources>
</configuration>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question