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

Announcements

No record found.

News and Announcements icon
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

  • Martin Dráb Profile Picture
    241,656 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,845 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,845 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
    241,656 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
    241,656 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 239 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 221

#3
Subra Profile Picture

Subra 166 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans