Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

X++ project cannot be built. Another build is in progress.

(0) ShareShare
ReportReport
Posted on by
Hi,
 
On recently set up F&O VMs, the following error has been occurring for a few days in “Build Solution”/“Build Models”: “X++ project cannot be built. Another build is in progress.” 
 
What I have already done/checked: 
  • Cleared the Visual Studio cache
  • Restarted the complete IIS
  • rebooted the VM
  • set number of maximum parallel project build to 1
  • Installed the latest D356 extension
Unfortunately I don't know what to do and I can't find a solution in other forums. Also the Microsoft Copilot does not show anything interesting.
What I have also noticed are the two error messages in the Windows Event Viewer that appear parallel to the build error. I have attached the two errors in the attachment. However, I don't know whether they are directly related or just a follow-up error.
 
Any help would be greatly appreciated!
 
Best regards
 
  • Martin Dráb Profile Picture
    Martin Dráb 230,655 Most Valuable Professional on at
    X++ project cannot be built. Another build is in progress.
    You're right, it may be xppc.Agent or xppc.Agent.17.0 too, not just xppc.
     
    The agent is what VS is using. In my case, it doesn't start automatically when I kill it, until I start another build. If you kill it and it immediallly starts again without you trying to run a build, then there seem to be another process doing that. In that case, I would check whether it starts under your user account and whether it happens with closed VS too.
  • X++ project cannot be built. Another build is in progress.
    Hi Martin,
     
    thank you for your feedback!

    I have checked the Task Manager. There is no process called “Xpp.exe”. However, there is a process “xppcAgent.17.0” running in the same location as the application Xpp. Unfortunately, terminating the process does not help. It keeps opening again and again. I even removed it from the folder as a test so that it could not start at all, but this caused the build process to terminate immediately and generate the error message directly.

    Any other ideas?
  • Martin Dráb Profile Picture
    Martin Dráb 230,655 Most Valuable Professional on at
    X++ project cannot be built. Another build is in progress.
    I've seen this error once and I there indeed was another build running . I forgot that I'm compiling something through command line and tried to build a model in Visual Studio.
     
    Things like restarting IIS won't help you, because IIS is used later in the process to run the compiled application. What you should focus on instead is xppc.exe. When you check running processes, don't you see xppc.exe there? What if you kill it and try a build again?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,938 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,655 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans