How to exclude a changeset when Synchronizing Dev environments

  • How to exclude a changeset when Synchronizing Dev environments

    Posted by DSC Communities on August 30, 2019 at 11:33 am
    • Rudy Salcedo

      Member

      August 30, 2019 at 11:33 AM

      We have a situation where several objects that were checked-in to Team Foundation Server are causing issues in Dev environments when those Dev environments are Synchronized (AX 2012 R2).Ā Ā  This was due to our AX partner having to change & check-in those objects as part of a hotfix installation in one of our Dev environments; other Dev environments now have Build and CIL compile errors after Synchronizing because those changed objects are causing issues.

      The changeset containing these objects has not yet been merged via Visual Studio into the Main branch, so it has not been processed in the AxBuild.Ā  So we are able to prevent the changeset from going into PRD as long as we remember to not select it in Visual Studio when merging changesets into the Main branch.

      So my question is… without deleting the changeset or restoring the objects in the changeset back to their previous versions, how can we exclude this specific changeset when Synchronizing our Dev environments?

      Synchronize

      ——————————
      Rudy Salcedo
      Senior Programmer/Analyst
      LaForce, Inc
      Green Bay WI
      ——————————

    • Ariff Damji

      Member

      September 3, 2019 at 9:47 AM

      Hi Rudy,

      You could revert the objects the Partner changed back to their original version, this would fix the build for all the Dev environments.Ā  To continue working with the hotfix the partner was working on, you could commit the hotfix changes to a branch in TFS.Ā  This way, the hotfix changes are isolated on that branch and will only affect a developer on that branch.

      For a developer that needs to work with the hotfix branch, the developer’s AX environment can be pointed to the specific branch in the Version control parameters screen:

      ——————————
      Ariff Damji
      Parts Canada Development Co.
      Calgary AB
      ——————————
      ——————————————-

    • Rudy Salcedo

      Member

      September 4, 2019 at 11:49 AM

      Thanks , I discussed this with my supervisor and we believe your solutionĀ will work for us.Ā  Thanks!??

      ——————————
      Rudy Salcedo
      Senior Programmer/Analyst
      LaForce, Inc
      Green Bay WI
      ——————————
      ——————————————-

    DSC Communities replied 6 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘How to exclude a changeset when Synchronizing Dev environments’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!