SQL Comparison SDK - 10.0
Licensing the SQL Comparison SDK
When you purchase the SQL Comparison SDK, on its own or as part of the SQL Toolbelt, the license entitles you to distribute up to ten copies of an application created using the SDK.
For more information, see:
- Distributing your SDK applications
- The Red Gate license agreement (pdf)
- Licensing ASP.NET applications
Licensing requirements
To create licensed applications using the SQL Comparison SDK, you must:
- have a valid SQL Comparison SDK, or SQL Toolbelt serial number
- include a valid licenses.licx file in your .NET project
For each project you create using the SQL Comparison SDK, the first time it is compiled, you are prompted for a serial number. Once you have entered a serial number, the project is licensed, and subsequent builds will succeed silently.
SQL Comparison SDK applications that are not licensed with a valid serial number display a trial expiry dialog box when compiled, and will not work after the trial period has expired.
Licenses.licx
When setting up your .NET project in Visual Studio, note that the licenses.licx file:
- is case sensitive
- must have a build action of Embedded resource
- must contain one or more of the following entries, on separate lines:
RedGate.SQLCompare.Engine.Database, RedGate.SQLCompare.EngineRedGate.SQLDataCompare.Engine.ComparisonSession, RedGate.SQLDataCompare.EngineRedGate.SQLPackager.Engine.PackagerEngine, RedGate.SQLPackager.EngineIf you are using only the SQL Compare API in your application, include only the first line. To use the SQL Data Compare API, you must include the first two lines. To use the SQL Packager API, include all three lines in the file.
Example: licensing a project
To set up licensing for a project using only the SQL Compare API:
- In the Solution Explorer pane of Visual Studio, right-click the project, click Add, and then click New Item
The Add New Item dialog box is displayed
- On the Add New Item dialog box, select Text File, and specify the name licenses.licx
If the file already exists, you will be prompted to overwrite it.
The licenses.licx file is displayed
- Add the following to licenses.licx, and save the file:
RedGate.SQLCompare.Engine.Database,RedGate.SQLCompare.EngineNote that entries in licenses.licx are case sensitive.
- Right click licenses.licx, and click Properties. Ensure the Build action is set to Embedded resource.
Licensing is now set up for the project. If this is the first time you have licensed the SQL Comparison SDK, you will be prompted for a serial number when you compile the project.
See also |
Was this article helpful?
SQL Comparison SDK
- Licenses.licx is not a valid Win32 application
- Application licensing invalidated by renaming assembly
- Excluding a table from a data comparison
- Manually licensing Red Gate assemblies
- RedGate.Licensing.Helper.dll is attempting managed execution inside OS Loader lock
- Troubleshooting SQL Comparison SDK licensing
- SQL Compare synchronization error 'Full-Text Search is not installed'
- Using SQL Data Compare mappings in projects using the API
- Licensing automated builds with NAnt
- Licensing ASP .NET applications
- Running SQL code inside SQL Comparison SDK applications
- Creating an HTML report of schema differences in C#
- Creating a synchronization script without batch markers
- Creating an HTML report of schema differences in Visual Basic .NET
- SQL Toolkit has become SQL Comparison SDK
- SQL Comparison SDK column mapping
- Executing your own SQL queries together with SDK synchronization
- Error 1603 occurring during installation
- Licensing SDK applications in Visual Studio 2010
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Comparison SDK
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Licensing and distribution