Disabling TFS policy checking
Published 16 July 2015
If you don't want your commits to have to conform to TFS policies, you can stop SQL Source Control checking for TFS policies by editing a config file.
- Close Management Studio.
- Go to the SQL Source Control config files folder. By default, this is located at %localappdata%\Red Gate\SQL Source Control 4
Open RedGate_SQLSourceControl_Engine_EngineOptions.xml in a text editor.
EngineOptions versionline, add:
The file is case sensitive. Don't change the capitalization of the text.
Ignoring any comments (indicated with
<!->), the final file should look like this:
<EngineOptions version="3" type="EngineOptions"> <IgnoreTfsPolicies>True</IgnoreTfsPolicies> </EngineOptions>
The example above doesn't include any extra lines you may have included. For example, you may have included additional lines to set up change logging.
- 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
Didn't find what you were looking for?
- Visit the Redgate forum
- Contact Support