Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

TFS 2015 Build: NuGet restore from an internal repository [duplicate]

$
0
0

We have set up an internal NuGet server and added that server into the package manager settings to publish our dependencies to our local dev machines. Now we want to use the new TFS 2015 Build system to build our solution.

at the start of the build NuGet.exe restore is called passing in the solution file as seen in the log file:

C:\Program Files\Microsoft Team Foundation Server 14.0\Build\agent\worker\tools\NuGet.exe` restore "D:\TfsData\Build\_work\a8a26a03\Source Code...etc\mySolution.sln" -NonInteractive

next line in the log is the error

##[error]Unable to find version '1.0.0.5' of package 'com.bmico.models.lookup'

Which is a package on my internal server?

How do I tell TFS Build 2015 to use my internal package repository as well as the publicly available one?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>