This project is read-only.

Error : Configure a build definition to Deploy the generated CRM Deployment Package

Topics: Build Server Setup, Build Template, Continuous Integration, PowerShell Cmdlets
Jan 21, 2016 at 7:19 PM
I'm getting the following error while configuring a build definition to Deploy the generated CRM Deployment Package:

Import-CrmPackage : Could not load file or assembly
Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of
its dependencies. The system cannot find the file specified.
At C:\Builds\1\CIDemo\BuildDefinition-DeploymentPackageTest\src\
xRMCIFramework_6.1.0.0\PowerShell\DeployPackage.ps1:55 char:1
  • Import-CrmPackage -CrmConnection $CRMConn -PackageDirectory
    $PackageDirectory -P ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : NotSpecified: (:) [Import-CrmPackage], FileNotFo
  • FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.Xrm.To
Can anyone help?
Feb 11, 2016 at 11:40 PM
Did you register the Deployment Manager using the script provided in the SDK?
Mar 15, 2016 at 4:02 PM
Sorry. Which Deployment Manager you are referring to? Is there any step to register something? Can you please elaborate in detail?
Mar 15, 2016 at 4:36 PM
In SDK we have PackageDeployer($SDK\CRM2013SP1SDK\SDK\Tools\PackageDeployer)tool which can be used to install solutions and data.Can't we use that tool and trigger from Build definition?
Jun 14, 2016 at 3:14 PM
Hi Wael,
Can you please help?