Warning CA0060
malsergey
Posts: 4
Hi,
After adding SDK to a project the Code Analysis shows warning:
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.
After adding SDK to a project the Code Analysis shows warning:
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: \...\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.
Comments
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.