If you don't want your commits to have to conform to TFS policies, or you're seeing the error message "This commit doesn't meet the server's policy requirements, or the policy isn't configured on your machine", you can stop SQL Source Control checking for TFS policies by editing a config file.
Editing the config file
- Close SQL Server Management Studio.
- Go to the SQL Source Control config files folder. By default, this is located at %localappdata%\Red Gate\SQL Source Control 3
Open RedGate_SQLSourceControl_Engine_EngineOptions.xml in a text editor.
Make sure the
EngineOptions versionline reads:
EngineOptions versionline, add:
Ignoring any comments (indicated with
<!->), the final file should look like this:
- Save and close the file.
SQL Source Control will now ignore any TFS policies when committing your changes to source control.
To turn policy checking on again, set the
<IgnoreTfsPolicies> value to