|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Configure Server Properties for Server Projects
When you create a server project to manage changes to a database server, you should configure the properties of the project so that they match the properties of the server. A database project that refers to the server project might not function correctly if the values do not match when you deploy the database project. For more information, see Starting Team Development of Databases that Reference Shared Server Objects.
You cannot deploy changes to server settings because many server settings cannot be changed without either restarting the database engine or, in some cases, reinstalling the database.
As a precaution, you can block deployment of a server project that is configured with different values from the values on the database server. You can specify that all values must match for deployment to continue, or you can specify that only certain values must match. When you try to deploy the server project, the values are verified against the database server. Deployment fails if the project and the server do not match based on your specifications.
Each version of SQL Server has a different set of properties. For a complete list of these properties, their default values, and their acceptable values for SQL Server, see "Setting Server Configuration Options" on the Microsoft Web site. If you have installed other database providers, see the product documentation for that database product.
For each server project, you can create multiple build configurations, but you can specify only one set of server properties.
To view and configure server properties
In Solution Explorer, expand the server project for which you want to configure server properties, and then expand its Properties folder.
Double-click the Server.sqlsettings file.
The editor for server properties appears.
You can sort the list of server properties by clicking the heading of the column by which you want to sort.
In the Verify column, select the check boxes for any properties that must match for deployment to continue, and clear the check boxes for any properties that do not need to match.
To select or clear the check boxes for all properties, right-click in the list, and then click either Ignore or Verify.
In the Value column, specify any values that you want to change.
On the File menu, click Save Server.sqlsettings.