I've done quite a bit of research into how I should manage my problem, but I just can't seem to get a grip on what I want to do. More importantly, I need to create a solution that the other members of my team will be able to follow relatively easily. The solutions I've tried work for a single developer, but would cause confusion between team members.
I currently have a branched structure like so:
- ProjectName
- Main
- DemoProject
- DemoEntityFramework
- QA
- DemoProject
- DemoEntityFramework
- Dev
- DemoProject
- DemoEntityFramework
- Main
I would like to pull the DemoEntityFramework out and Branch it in the same fashion, Main/QA/Dev. The reason I need it branched is because it's very common for the database structure to be different between branches. Thus, QA would not properly build when pointed to the PROD version of the EntityFramework. Another reason for pulling it out is because I have other projects that rely on the same framework and I could reuse the library instead of having to keep additional copies of the entity framework in those projects as well.
I've seen people suggest NuGet to handle the dependency. I'd be fine with that but I'd need a way to have each branch pull the respective dependency without breaking when I do a merge.