I just try to set up a database project in Visual Studio 2010. We have one database, that contains a lot of stored procedures. Unfortunately those procedures accesses quite a lot of other databases (30+), so I get a lot of “unresolved references” errors.
At the moment I see two possibilities to solve my problem:
- Add database projects to my solution, till I have all the errors resolved.
- Create a lot of schemas for all my databases and add them as reference.
Both possibilities are a lot of work, especially as there can come a lot more databases in the future. My dream would be, that I can just add the whole server as a reference. Is that possible somehow? Are there any other solutions I don’t know of?
This might help you. I found a article about referring databases here and this explains how to add multiple database project here
Hope this helps