Options

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

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;
or
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
Robert

Comments

  • Options
    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.
Sign In or Register to comment.