SQL Server 2012 – Where to Get the master.dacpac File?

sql-server-2012ssdtsystem-databasesvisual studio 2012

I am using Visual Studio 2012 Professional with SQL Server Data Tools with a SQL Server 2012 standard edition database instance.
I have been unable to locate a master.dacpac file on either my development machine or on the server hosting the SQL Server instance.

How can I obtain this file, so I can get rid of warnings like the following:

SQL71502: Procedure: <ProcedureName> has an unresolved reference to object [sys].[objects]  

Best Answer

You should be able to add a Database Reference. Click Project-> Add Database Reference. Click the radio button for System and then master. Code with references to objects in the master db should now build correctly.