Red Gate forums :: View topic - Warning CA0060
Return to www.red-gate.com RSS Feed Available

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

Warning CA0060

Search in SQL Comparison SDK 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
malsergey



Joined: 24 Jul 2012
Posts: 2

PostPosted: Tue Jul 24, 2012 7:48 pm    Post subject: Warning CA0060 Reply with quote

Hi,

After adding SDK to a project the Code Analysis shows warning:

Quote:
CA0060 : The indirectly-referenced assembly 'System.Data.SQLite, Version=1.0.54.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: D:\...\RedGate.SQLCompare.Engine.dll. in


Looks like the RedGate.SQLCompare.Engine.dll used only 32 bit library of System.Data.SQLite. But i can't use 32 bit libraries in solution. Adding 64 bit library of SQLite didn't solve it.

Can somebody help to me with it?
Thanks in advance.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Wed Jul 25, 2012 1:14 pm    Post subject: Reply with quote

The code analysis warning is correct, however, there is nothing you can do to prevent it except to compile as 32-bit or possibly exclude any references to any of the SDK BackupReader DLLs.

The SDK code will happily function as 64-bit code, however, the BackupReader component is 32-bit only because it has hard-coded 32-bit offsets. Part of this code uses SqlLite to persist information about the schema of the database in the backup file. So if you have any code that reads backups, you will have to compile as x86.
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