I am trying to create a database solution in Visual Studio 2012.
I have 5 databases that all exist on the same server, so I have imported each of them into a database project.
Unfortunately there are quite a few objects in the databases that reference objects in other databases, so I have been trying to resolve these by adding a Database Reference to create a Database variable to refer to these cross database instances.
The problem is that I have database A referencing B and also B referencing A, and it won't allow me to add these two references. I get the message box saying "Adding this project as a reference would cause a circular dependency".
Any ideas on approaches to resolving this? I guess one way might be to create a solution for each database, but I would rather not if there is a better way to do it.
We are trying to set up an automated build, so I really need the database projects to compile.