I’m trying to setup a solution to be built by TFS Build 2013. The solution uses NuGet packages from both nuget.org and an internal company repo. When building on the build server, it finds the packages from nuget.org, but not the ones from my internal repository. I have a NuGet.Config file in the solution (under the .nuget folder) that looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
<packageSources>
<add key="NuGet official package source" value="https://nuget.org/api/v2/" />
<add key="My Internal Package Source value="\\myserver\NuGetPackages" />
</packageSources>
<activePackageSource>
<add key="All" value="(Aggregate source)" />
</activePackageSource>
</configuration>
The error message I get is:
Unable to find version '1.0.0' of package 'MyPackageName'.
What do I need to do to get it to pick up the packages in my internal repository?