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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

The "BuildTask" task returned false but did not log an error.

(0) ShareShare
ReportReport
Posted on by 40

Hi folks, 

I am facing these errors when I am building my changes. Any ideas on how can I solve these? 

I checked services all are running.

pastedimage1663845162148v1.png

I have the same question (1)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Please give us some context. What did you do before started getting this error?

    Also, this error seems to be thrown by database synchronization. Please recompile the application without DB sync, and if it completes successfully, run DB sync alone. Will you get the same error?

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi Shahzaib Ahmed,

    Have you tried building your custom model with synchronization instead of project build?

    Extensions -- Dynamics 365 - Build Models. Select your custom model and run the build with synch.

    Thanks,

    Girish S.

  • Shahzaib Ahmed Profile Picture
    40 on at

    I was making some changes to the form so that users cannot submit requests to the workflow if attachments are not attached.

    the changes are made on canSubmitToWorkFlow() method of the table.

    I build it without sync but the last error in the list remains there.

  • Shahzaib Ahmed Profile Picture
    40 on at

    I did that as well.

  • GirishS Profile Picture
    27,827 Moderator on at

    Try running the "Synchronize database" from Extensions -- Dynamics 365.

    See whether the synchronization is succeeded without any errors.

    Thanks,

    Girish S.

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Don't bother with synchronization the application and the database if you aren't able to build the application.

    The last error on your screenshot is related to a project build. Please run the build of your custom model show the result.

  • Shahzaib Ahmed Profile Picture
    40 on at

    pastedimage1663847677737v1.png

    When I build the custom model I et this error.

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    The message is related to a project, so it doesn't make sense if you built a model. Try re-starting VS and building the model without opening any project.

  • Suggested answer
    Shahzaib Ahmed Profile Picture
    40 on at

    That Worked Thanks Mate.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans