I have the following branches in Team Project X:
Main (references the release assembly files from Team Project Y)
Dev1 (references the debug assembly files from Team Project Y)
Dev2 (references the debug assembly files from Team Project Y)
Release (references the release assembly files from Team Project Y)
Note: Team Project Y is the framework team project where I store common projects as well as Files such as Assemblies (Debug, Release), Company Key, Code Analysis custom setting file.
My issue: When merging (Forward Integration) from Main back to Dev1 or Dev2 the reference path are overwritten. In other words, the reference path on Dev is changed from .../debug/... to .../release/...
As a result, my build definition for Dev1 and Dev2 breaks.
My build definition for Dev1, for example, contains two paths in the workspace:
- path to the .sln file in Dev1 (to build the whole solution)
- path to the assembly debug (not the release) folder in Team Project Y
What strategy should I use to overcome my problem. Thanks in advance!