web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Error MSB6006: "Xppc.exe" exited with code -1. on Build automation that uses Microsoft-hosted agents and Azure Pipelines

(0) ShareShare
ReportReport
Posted on by 7
Hi, can someone help me with the following error?

pastedimage1662130458568v1.png

I'm trying to get a new Azure pipeline working - Based on the doc page: docs.microsoft.com/.../hosted-build-automation and https://community.dynamics.com/ax/b/axinthefield/posts/build-automation-through-azure-pipeline-using-microsoft-hosted-agent

This is generated in the build step of my pipeline in azure devops

pastedimage1662131082265v2.png

Any hints?
thanks for your support
 
I have the same question (0)
  • Yames Valera Salvador Profile Picture
    7 on at
    RE: Error MSB6006: "Xppc.exe" exited with code -1. on Build automation that uses Microsoft-hosted agents and Azure Pipelines

    Thank you Mariano, your indication helped me a lot.

  • Yames Valera Salvador Profile Picture
    7 on at
    RE: Error MSB6006: "Xppc.exe" exited with code -1. on Build automation that uses Microsoft-hosted agents and Azure Pipelines

    Hello Arunraj, I had to install a new version of nuget components and with that it no longer gives an error.

  • Yames Valera Salvador Profile Picture
    7 on at
    RE: Error MSB6006: "Xppc.exe" exited with code -1. on Build automation that uses Microsoft-hosted agents and Azure Pipelines

    Hi Ivan, Yes I tried it and from there it does not give errors

  • Mariano Gracia Profile Picture
    on at
    RE: Error MSB6006: "Xppc.exe" exited with code -1. on Build automation that uses Microsoft-hosted agents and Azure Pipelines

    you need to download the logs, go to the summary and download the log, I've attached an image so you can see were to find the logs (highlighted in yellow):

    3264.Captura.JPG

    you'll get a lot of more information in the log files

  • Suggested answer
    Arunraj Rajasekar Profile Picture
    1,743 on at
    RE: Error MSB6006: "Xppc.exe" exited with code -1. on Build automation that uses Microsoft-hosted agents and Azure Pipelines

    Hi Yames,

    Please check to see if you have full access to the folder path "D:\a\8\Nugets\Microsoft\.Dynamics.AX.Platform.DevALM.BuildXpp\ref\net40"

  • id365font Profile Picture
    398 on at
    RE: Error MSB6006: "Xppc.exe" exited with code -1. on Build automation that uses Microsoft-hosted agents and Azure Pipelines

    Hello,

    have you tried to build this branch in a virtual machine? Maybe you could see the error.

    Or maybe you can enable the check "Enable system diagnostics" when running the pipeline.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 777 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 630 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 602 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans