| Author |
Message |
malsergey
Joined: 24 Jul 2012 Posts: 2
|
Posted: Tue Jul 24, 2012 7:48 pm Post subject: Warning CA0060 |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Wed Jul 25, 2012 1:14 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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