Is there a working example with a 'different database, same server' project reference? #190
Unanswered
stijnherreman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two databases (Foo and Bar) on the same server and create a project for each. Next, in the Bar project I add a Database Reference to the Foo project.
This adds the following content to
Bar.sqlproj
:Now I try to create a view, but all of these variations fail to compile with SQL71561 errors:
I've tried this method for existing databases that are in use and for newly created databases. I've also tried removing the
<DatabaseSqlCmdVariable>Foo</DatabaseSqlCmdVariable>
.Is there a working example available?
Beta Was this translation helpful? Give feedback.
All reactions