Working with VS2013 and completing my first database project project. I have three existing databases on one server. Quotes, quotes and quotes. Each has several stored procedures that reference one of the other databases. This is done with the syntax database.schema.table (Quotes.dbo.Mytable) and works well in SSMS and in all production situations. QuotingUi has several views that retrieve data from Quoting using the same syntax. SP and EF models have no problems with this.
I created an empty solution, and then added each database to the solution in the form of a project, by right-clicking on the database in SQL Object Explorer and creating a new database. Once all three projects have been created, a solution will be built. However, I have warnings about quotes and quotes (only for SPS) that links cannot be resolved to another database. In QuotingUi, I have not only warnings about sp links, but also errors (red squigglies) in all views.
I tried to add other projects to each project as projects (it seems he wants only a DLL), or a database, or both, and then rebuild, then close and reopen the solution, etc. I set up the build dependency for QuoutingUi for two other projects and the build order that builds them first. There is no joy.
He began treatment with Deborah Kurata, but I donβt think she covers this scenario.
Suggestions are welcome.
source share