Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Managing Dynamics 365 Finance source code branches: Merge not putting files in correct folders

(1) ShareShare
ReportReport
Posted on by 185
Hello,
 
A quick question about a weird merging behaviour I have not encountered before:
 
I have a Dev branch created from my Main branch.
 
In dev I'm adding two .dll's for an ISV package. These .dll's live in a //bin subfolder.
 
I am attempting to merge from Dev to Main and have the dll's and up in the same folders as they are in the dev branch.
 
In Dev the dll's in the source branch are in:
//Metadata//CCH_SureAddress//bin//SureAddressWrapper.dll
and
//Metadata//CCH_SureAddress//bin//SureTaxWrapper.dll
 
But... in the VM mapped to the Main branch, I select the merge from Dev, and even though Organize projects by element type option is on, after I select merge by change set the result was this:
I expected the new //bin folders to be in the CCH_* folders off the main Metadata folder, and not have a new //Metadata//Metadata//CCH_* set of folders created.
 
What am I doing wrong?
  • Suggested answer
    jt1024 Profile Picture
    185 on at
    Managing Dynamics 365 Finance source code branches: Merge not putting files in correct folders
    I found that SureTaxWrapper.dll already existed on the target.  I think this closes the case.
  • jt1024 Profile Picture
    185 on at
    Managing Dynamics 365 Finance source code branches: Merge not putting files in correct folders
    I've come back to this work.
     
    Maybe I'm doing things differently this time around but I'm having a different result.
     
    Here's what's happening:
    Merge command I used
     
    Then I set up the merge dialogue as follows:
    Merge Command Setup for Metadata folder from source to target
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    This is the result I'm receiving:
    Result, 1 of the 2 files is giving access to path is denied errors
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    I figure I'm not noticing some simple mistake I'm making.
     
    Anyone have any advice or ideas?
     
    Thanks so much.
  • jt1024 Profile Picture
    185 on at
    Managing Dynamics 365 Finance source code branches: Merge not putting files in correct folders
    Hello Anton,
     
    I think I have it set up correctly, does this look right to you?
  • Suggested answer
    Anton Venter Profile Picture
    19,706 Super User 2025 Season 1 on at
    Managing Dynamics 365 Finance source code branches: Merge not putting files in correct folders
    Hi,
     
    The problem is the "Metadata" in your mapping. The Metadata folder mapping should be to the packagesLocalDirectory folder. So without Metadata in the local path folder.
     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Martin Dráb Profile Picture

Martin Dráb 487 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 310

#3
Saalim Ansari Profile Picture

Saalim Ansari 291

Overall leaderboard

Product updates

Dynamics 365 release plans