Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / D365 FO build pipeline...
Finance forum
Suggested answer

D365 FO build pipeline giving an error

editSubscribe (2) ShareShare
ReportReport
Posted on by 100
/Hi,
 
I am creating a build pipeline. I have configured it but when I run it I get an error saying /##[error]Container path not found: 'D://a//8//b//Microsoft.Dynamics.AX.Platform.CompilerPackage'
But all of the Nuget packages are pushed to my artifacts.
My repository also contains all the required files as well.
 
Can you guide me on what mistake I am making here?
 
Artifacts:
 
Repository:
 
This is the error SS:
 
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    Navneeth Nagrajan 1,225 on at
    D365 FO build pipeline giving an error
    Hi,
     
    Republish the nuget package Microsoft.Dynamics.AX.Platform.CompilerPackage to the Artifacts section after removing the artifacts section.
     
    You need to add a variable for Microsoft.Dynamics.Ax.Platform.CompilerPackage under the variables section of the Build pipeline. 
     
    Also, would recommend to keep the nuget.config and the packages.config under a common repository. For example, recommend to move the nuget.config and the
    package.config under a common repository as shown below. Easier to reference the nuget.config and packages.config through common variables and reference these common variables across multiple build pipelines. 

     
     
     
    In the build pipeline add these parameters in the nuget install packages step.
    The above highlighted input parameters serve as arguments to the nuget install packages. 
     
    In addition to this, a few questions:
    1. Was this package published through the command line without adding this nuget package to Dynamics Lifecycle Services -> Asset Library -> nuget section?
    or 
    2.  Was this package published through the command line after adding this nuget package to Dynamics Lifecycle Services -> Asset Library -> nuget section?
     
    3. Also, did you assign the contributor privileges to the Build Service account.
     
    Happy to answer questions, if any. 
  • Anthony Blake Profile Picture
    Anthony Blake 862 on at
    D365 FO build pipeline giving an error
    To add to Francisco Silva's request, please could you also share the get sources config with the get deployable packages step?
  • fsilva-jr Profile Picture
    fsilva-jr 20 on at
    D365 FO build pipeline giving an error
    Please share with us the configuration of the "Create Deployable Package" step of your pipeline.
  • Umesh Pandit Profile Picture
    Umesh Pandit 9,033 User Group Leader on at
  • ShahzaibAhmed52 Profile Picture
    ShahzaibAhmed52 100 on at
    D365 FO build pipeline giving an error
     
    These is the packages.config. the versions of Nuget matches
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 862 on at
    D365 FO build pipeline giving an error
    Could you share the version numbers from your packages.config? They will need to match the version numbers in your Artifacts so worth checking.
     
    Also, download and import the sample pipelines and compare your config:
     
  • ShahzaibAhmed52 Profile Picture
    ShahzaibAhmed52 100 on at
    D365 FO build pipeline giving an error
    Here are the settings that I am using for my Pipeline
  • Suggested answer
    Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,375 Super User on at
    D365 FO build pipeline giving an error
    Hi ShahzaibAhmed,
     
    Have you reviewed the settings with the documentation provided by Microsoft? Can you share some details about your pipeline settings? E.g. what settings do you have for Agent Pool and Agent Settings? You can review your settings also with a blog written by Denis Trunin: Step-by-Step Guide: Creating D365FO Build and Deploy Pipelines | Denis Trunin's X++ Programming Blog

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans