I'm new to TFS and trying to do my first automatic build through the hosted TFS (tfspreview.com) but it fails due to a missing assembly.
One of my projects in the solution references Microsoft.WindowsAzure.Configuration. The reference has Copy Local
set to True
but it seems like it doesn't exist/isn't found by the TFS.
How do I tell TFS where to find the assembly?
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (1561): Could not resolve this reference. Could not locate the assembly "Microsoft.WindowsAzure.Configuration, Version=1.7.0.0, Culture=neutral, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
Found the answer in Using NuGet with TFS Build Automation. It failed because I've added the reference through NuGet.
This is needed to make it work:
The blog has a lot more information so have a look for a complete fix with explanations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With