title: Deploy DACPAC with SqlPackage.exe with references to master and msdb
body: <p>We have a Visual Studio DB-project that has DB-objects that reference to the 'master'- or 'msdb'-database. </p>
  
  <p>Now there are two cases:</p>
  
  <p>(1) With having NO references to the system databases 'master' and 'msdn' in the project settings, it is possible to
  build the project but there are a lot of warnings because the references to 'master' or 'msdb' could not be resolved. Deployment of the DACPAC is no problem.</p>
  
  <p>(2) With having references to the system databases 'master' and 'msdn' in the project settings, it is possible to 
  build the project without any warning but deployment is only possible when also 'master.dacpac' and 'msdn.dacpac' are delivered with our projects DACPAC.</p>
  
  <p>So both cases work, but in the first case we have a lot of warnings during development. 
  In the second case 'master.dacpac' and 'msdn.dacpac' have to be delivered to the customer and I don't know if they are also updated during deployment.</p>
  
  <p>So is there a way to solve this disadvantages of both cases?</p>
  
  <p>The target platform for the DB-project is set to SQL Server 2012. We want to use the DACPAC file for updating SQL Server 2012 and SQL Server 2014.</p>