Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

D365FO Upgrade - Visual Studio 2017 Build Error

(0) ShareShare
ReportReport
Posted on by 45

I'm using Visual Studio 2017 on my local VM downloaded from LCS.  I am upgrading from AX2012R3 and using DevOps with TFVC repo. After a Model Refresh and cleaning out of bad references I attempted a recommended Build of the affected model.  An error displayed that another X++ build is currently running. I have tried every corrective measure I could find online and in the Community - remove the other build in Task manager (there wasn't another build); select Build -> Cancel under the Build menu (no such menuitem found); two reboots (one cold, one hot); I even downloaded a new VM and built from scratch (same error).  I suppose I could proceed with to remove conflicts, but I believe I will need to incremental builds eventually.  

I appreciate all comments, help, recommendations.

Thank you.

pastedimage1623172408296v1.png

pastedimage1623172503859v2.png

  • Suggested answer
    kerlue Profile Picture
    kerlue 7 on at
    D365FO Upgrade - Visual Studio 2017 Build Error
    If you are updating your dev box and it failed it may cause a mismatch between VS D365 extension. Please check this post on how to update your VS d365 extention https://community.dynamics.com/forums/thread/details/?threadid=27644005-ce5a-4bb5-b594-28fd81352dfa
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,642 Super User 2024 Season 2 on at
    RE: D365FO Upgrade - Visual Studio 2017 Build Error

    Hi Rodney,

    I have not seen this exact error myself, but think it could be related to the overlayered model. That is why I put in the comments about the overlayering. What exact conflicts are you referring to?

  • Rodney Rau Profile Picture
    Rodney Rau 45 on at
    RE: D365FO Upgrade - Visual Studio 2017 Build Error

    Hi Andre,

    Thank you very much for the quick response.  I should have mentioned that I'm more concerned, at this time, about the build error.  I am assigned to setting up the environments (2) and conflict resolution. My associate will work on removing overlays. Your response above was valuable to her and she thanks you!  Other that the build error, I am finished with setting up both my environments. Do you think I can put the build error aside for now and begin my conflicts?  Or, do you feel it's better to find out what is going wrong with the build error.

    Thanks again for your help.

    Rodney

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,642 Super User 2024 Season 2 on at
    RE: D365FO Upgrade - Visual Studio 2017 Build Error

    Hi Rodney,

    You selected to build the ApplicationSuite model which now contains an overlayering model. You have to create a new extension based model(s) and move all objects to the extension models. Overlayering is not possible for standard application models.

    It would require probably some refactoring of code to use events or Chain of Commands.

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! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans