title: DataBase project in Visual Studio
body: <p>I have two database projects in Visual Studio which is purpose to deploy databases separately. First database project deploy DBFirst and second database project deploy DBSecond. DBFirst database is created successfully but I am struggling with second. </p>
  
  <p>DBSecond contains stored procedures and views. Some of them referenced to DBFirst and DB project failed during the build process. Example I have following view in DBSecond:</p>
  
  <pre><code>CREATE VIEW [dbo].[DBFirst_CLM_Details]
  AS
    SELECT          *
     FROM         [DBFirst].[dbo].[CLM_Details]
  GO
  </code></pre>
  
  <p>That project failed during the build because it cannot resolve reference DBFirst. If I change "Build Action" property from Build to None project will build but it will skip that file.</p>
  
  <p>How can I deploy that view and similar objects which have references to another database? I am using VS 2013 and target platform is MS Azure SQL Database</p>
  
  <p>Thanks</p>