Red Gate forums :: View topic - What is replacement for RedGate.SQL.Shared in SQLCompare8?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK Previous Versions
SQL Comparison SDK Previous Versions forum

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

Search in SQL Comparison SDK Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
binarymechanic



Joined: 06 Mar 2009
Posts: 6

PostPosted: Fri Mar 06, 2009 6:20 pm    Post subject: What is replacement for RedGate.SQL.Shared in SQLCompare8? Reply with quote

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
Back to top
View user's profile Send private message
simon.jackson



Joined: 08 Jan 2009
Posts: 45

PostPosted: Mon Mar 09, 2009 10:41 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group