title: SQL Server Project View references tables from different Database
body: <p>I am converting a database model into a SQLModel so we can start deploying with a dacpac. I have completed this with a few other databases but none references external databases. I have an issue where a couple views and stored procedures reference tables from a different database that is be on the same server. For stored procedures there isn't an error because procedures do not need to have the tables created unitil runtime. But for the views I get build errors for  </p>
  
  <blockquote>
    <p>contains an unresolved reference to an object. Either the object does
    not exist or the reference is ambiguous</p>
  </blockquote>
  
  <p>I have been trying to figure out a way to make it work without having to have a second project that has the fields in place or to reference a different dacpac. I co-worker suggested to try synonyms but that didn't solve the problem either.</p>
  
  <p>Any help would be greatly appreciated.</p>