What is replacement for RedGate.SQL.Shared in SQLCompare8?

Automate and integrate using the SQL comparison API

What is replacement for RedGate.SQL.Shared in SQLCompare8?

Postby binarymechanic » Fri Mar 06, 2009 5:20 pm

Looking at your SDK SQLCompareReport project, it references RedGate.SQL.Shared, but in SQL Compare8 that DLL no longer exists.

I thought it might be:
using RedGate.Shared.SQL;
C:\\Program Files (x86)\\Red Gate\\SQL Compare 8\\RedGate.Shared.SQL.dll

But the program is still missing references:
The type or namespace name 'DiffHelper' could not be found (are you missing a using directive or an assembly reference?)

Thank you
Posts: 6
Joined: Fri Mar 06, 2009 4:20 pm

Postby simon.jackson » Mon Mar 09, 2009 9:41 am

In general the replacement is RedGate.Shared.SQL. The DiffHelper class, however, is now in RedGate.Shared.Utils. Adding both these references should get you going.

RedGate.Shared.Utils.DiffHelper.ComparisonStrings is also obsolete:
"Warning 1 'RedGate.Shared.Utils.DiffHelper.ComparisonStrings' is obsolete: 'Please use List<ComparisonString> instead' C:\\temp\\SQLCompareReport\\HTMLReport.cs 156 28 SQLCompareReport

The class is a hang over from the days of non generic collections. I'll schedule some work to update the material.
Posts: 45
Joined: Thu Jan 08, 2009 9:42 am

Return to SQL Comparison SDK Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests