Red Gate forums :: View topic - SQL Compare 7 breaks existing version 6 code
Return to www.red-gate.com RSS Feed Available

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

SQL Compare 7 breaks existing version 6 code

Search in SQL Toolkit Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
aperregatturv



Joined: 31 Aug 2005
Posts: 48
Location: New York

PostPosted: Tue Jul 22, 2008 5:46 pm    Post subject: SQL Compare 7 breaks existing version 6 code Reply with quote

Currently, i am running SQL Compare 6 with Toolkit and 2 referenced files i use : RedGate.SQL.Shared and RedGate.SQLCompare.Engine.
This morning I downloaded the latest version 7 and tried to recompile i got the first licensing error which i already reported to support.
Next, I got ton of errors saying it can't find the RedGate.SQL.Shared file anymore.

Please let me know, if it is removed or renamed then i may have to revert back to version 6 and not use 7.

Please advise.

Thanks
Arun
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Tue Jul 22, 2008 6:00 pm    Post subject: Reply with quote

RedGate.SQL.Shared has been split into RedGate.Shared.SQL and RedGate.Shared.Utils; it should just be a matter of changing the references and imports to use the new code. SQL Comparison SDK 7 hasn't been released yet; when it is the support website will be updated with API documentation for the new libraries.

Simon C
Back to top
View user's profile Send private message Send e-mail
aperregatturv



Joined: 31 Aug 2005
Posts: 48
Location: New York

PostPosted: Tue Jul 22, 2008 6:02 pm    Post subject: Reply with quote

Thanks for the reply.

So, I have remove RedGate.SQL.Shared and add RedGate.Shared.SQL and RedGate.Shared.Utils.

Can I ask why it was split?

Thanks for the quick reponse.

Arun
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Tue Jul 22, 2008 6:07 pm    Post subject: Reply with quote

Mainly for the non-SQL teams, who don't need all the SQL classes (ExecutionBlock, BlockSaver, etc). It was also part of a general refactor of our internal shared assemblies to simplify some of the automatic builds and assembly dependancies. Apart from the namespace changes, the code is backwards-compatible with v6.
Back to top
View user's profile Send private message Send e-mail
aperregatturv



Joined: 31 Aug 2005
Posts: 48
Location: New York

PostPosted: Tue Jul 22, 2008 6:14 pm    Post subject: Reply with quote

If I am using the Assemblies to Create/Update Database using Snapshot files. Do I need to include both Shared.SQL and Shared.Utils or just one?

I see the Shared.Utils has CommandLine Class. Is this used for processing commandline arguments from SQLCompare tool?


Thanks
Arun
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Wed Jul 23, 2008 10:33 am    Post subject: Reply with quote

The public API documentation for the shared dlls will be released when Comparison SDK 7 is released - most of the classes in the shared dlls are only intended for internal use.
Back to top
View user's profile Send private message Send e-mail
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Mon Jul 28, 2008 2:42 pm    Post subject: Reply with quote

SQL Comparison SDK 7 has been released - you can get the new API documentation from http://www.red-gate.com/supportcenter/Product.aspx?p=SQL%20Comparison%20SDK
Back to top
View user's profile Send private message Send e-mail
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