Version 10.5 of the SQL Comparison SDK includes changes that might break your projects that use the SQL Compare, SQL Data Compare, or SQL Packager APIs.
To fix your projects, you might need to do one or more of the following:
In previous versions of the SQL Comparison SDK, comparison options were specified as a bit flags enum. For example:
Options.Default | Options.DropAndCreateInsteadOfAlter
In version 10.5, options are specified using the methods in the
Options class. For example:
With version 10.5, projects must reference RedGate.Shared.ComparisonInterfaces.dll.
Projects using the SQL Data Compare API must now also reference RedGate.SQLCompare.Engine.dll.
In version 10.5, the
DifferenceType enum has moved from
You need to update any files that use
using RedGate.Shared.ComparisonInterfacesto the list of
usingstatements at the top of your files.
When you distribute your application, you now need to include the following assemblies:
For more information, see Distributing your SDK applications.