TFS (Preview) build error due to lack of build?

I am new to TFS and trying to complete my first automatic build through hosted TFS (tfspreview.com), but this fails due to lack of build.

One of my projects in the solution refers to Microsoft.WindowsAzure.Configuration. The link has Copy Localit set to True, but it does not seem to exist / not found by TFS.

How to tell TFS where to find the assembly?

C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Microsoft.Common.targets (1561): This link could not be resolved. The assembly "Microsoft.WindowsAzure.Configuration, Version = 1.7.0.0, Culture = Neutral, ProcessorArchitecture = MSIL" could not be found. Make sure the assembly exists on disk. If this link is required for your code, you may get compilation errors.

+5
source share
1 answer

Found the answer in Using NuGet with TFS Build Automation . This did not succeed because I added the link through NuGet.

It is necessary for work:

  • Right-click Solution in Solution Explorer
  • Click "Enable NuGet Package Recovery"
  • Click "Yes" when prompted.

There is much more information on the blog, so check out the full fix for the explanation.

+10
source

All Articles