1

Closed

Export-XrmSolution : Could not load file or assembly 'Microsoft.TeamFoundation.Build.Client

description

Microsoft Visual Studio xRM CI Framework Powershell .Net framework

Install D:\ and Version 12 CRM 2013 4 4.5

Running: "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."

Please suggest on this .
Closed Mar 10 at 2:17 PM by waelhamze

comments

ashish4h2 wrote Mar 30, 2016 at 6:09 PM

I tried:
Import-Module "Xrm.Framework.CI.PowerShell.dll"
imported successfully
While running following command:
$solutionName1= "WebResources"
$unmanagedSolution1 = Export-XrmSolution -ConnectionString $connectionString -Managed $False -OutputFolder $env:TEMP -UniqueSolutionName $solutionName1


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.

Please help to resolve this.

ashish4h2 wrote Apr 1, 2016 at 3:35 PM

We rebuilt the Xrm.Framework.CI.PowerShell.dll in VS 2013, and that resolved the assembly issue.

wrote Mar 10 at 2:17 PM