Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

D365FO Upgrade - Visual Studio 2017 Build Error

(1) ShareShare
ReportReport
Posted on by 47

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
    SM-17010432-0 Profile Picture
    SM-17010432-0 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... 292,575 Super User 2025 Season 1 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 47 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... 292,575 Super User 2025 Season 1 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans