Import-XrmSolution missing assembly 'Microsoft.TeamFoundation.Build.Client, Version=11.0.0.0'

Topics: PowerShell Cmdlets
Mar 24, 2016 at 12:00 PM
Hey,
I try to write a powershell script which simply imports my CRM Solution to a CRM 2011 server.
Therefore, I need to use the Import-XrmSolution cmdlet which throws a "Missing assembly reference" for me. (Microsoft.TeamFoundation.Build.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.)

The actual problem is that Xrm.Framework.CI.PowerShell.dll is referencing Xrm.Framework.CI.common.dll which has a reference to Microsoft.TeamFoundation.Build.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

I'm working on Windows 7 with Visual Studio 2015 and VS 2015 SDK installed. The assembly is only available in version 14.0 and I don't know where the specific version 11.0.0.0 is shipped with.

What packages/resources do I need to resolve this missing assembly reference ?
(I guess there is some dependency/framework (maybe the VS 2013 SDK ?) missing on my machine, though I didn't find a dependency list of this project I can't resolve this myself. )
Mar 30, 2016 at 6:02 PM
I am facing same issue :
import-Module "Xrm.Framework.CI.PowerShell.dll"

Error: Export-XrmSolution : Could not load file or assembly 'Microsoft.TeamFoundation.Build.Client, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The system cannot find the file specified.

Any help ?
Apr 1, 2016 at 3:35 PM
We rebuilt the Xrm.Framework.CI.PowerShell.dll in VS 2013, and that resolved the assembly issue.