Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

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

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

  • Suggested answer
    Shahzaib Ahmed Profile Picture
    Shahzaib Ahmed 40 on at
    RE: The "BuildTask" task returned false but did not log an error.

    That Worked Thanks Mate.

  • Martin Dráb Profile Picture
    Martin Dráb 230,030 Most Valuable Professional on at
    RE: The "BuildTask" task returned false but did not log an error.

    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.

  • Shahzaib Ahmed Profile Picture
    Shahzaib Ahmed 40 on at
    RE: The "BuildTask" task returned false but did not log an error.

    pastedimage1663847677737v1.png

    When I build the custom model I et this error.

  • Martin Dráb Profile Picture
    Martin Dráb 230,030 Most Valuable Professional on at
    RE: The "BuildTask" task returned false but did not log an error.

    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.

  • GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 on at
    RE: The "BuildTask" task returned false but did not log an error.

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

    See whether the synchronization is succeeded without any errors.

    Thanks,

    Girish S.

  • Shahzaib Ahmed Profile Picture
    Shahzaib Ahmed 40 on at
    RE: The "BuildTask" task returned false but did not log an error.

    I did that as well.

  • Shahzaib Ahmed Profile Picture
    Shahzaib Ahmed 40 on at
    RE: The "BuildTask" task returned false but did not log an error.

    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.

  • GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 on at
    RE: The "BuildTask" task returned false but did not log an error.

    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.

  • Martin Dráb Profile Picture
    Martin Dráb 230,030 Most Valuable Professional on at
    RE: The "BuildTask" task returned false but did not log an error.

    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?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans