Applies to Product - Dynamics 365 Supply Chain Management
What’s happening?
The customer is unable to build an X++ project in Visual Studio, receiving the error message: "X++ project cannot be built. Another build is in progress. The 'BuildTask' task returned false but did not log an error."
Reason:
This appears to be related to a missing cross-reference database for the user attempting the build. Additionally, there may have been complications due to the username length affecting the build process.
Resolution:
- Verify if another build is currently in progress. If so, wait for it to complete before attempting to build again.
- Check for any missing cross-reference databases for the user. If found, perform a database backup from another user and retry the build.
- If the issue persists, create a new model and project, then add a runnable class to the project and attempt to build again.
- If the error continues, download the assets again by navigating to Tools > Download FinOps Assets and try building the model once more.
- If the username is excessively long (e.g., 26 characters), consider recreating the username with a shorter length and retry the build process.
