Error cs0433
I am going through the walkthrough on medium.com but I run into this error when I build the solution:
CS0433: The type 'IDbConnection' exists in both 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
I have found similar issues brought up elsewhere, but my issue is just different enough that I can't translate the solutions to work for my problem. Also, I'm fairly new to Unity so any help is greatly appreciated.
I am having a similar issue which I believe is the same. My Unity version is 2019.3.0f3 and am getting the following after adding the Plugin files to my project.
Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e) Copyright (C) Microsoft Corporation. All rights reserved.
error CS1703: Multiple assemblies with equivalent identity have been imported: '.../Assets/Plugins/sqLite/System.Data.dll' and '/Applications/Unity/Hub/Editor/2019.3.0f3/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/System.Data.dll'. Remove one of the duplicate references.
Any help would be great!
@willett-developer Had the same issue, There are two copies of the System.Data being referenced, one from unity the other from this repository. I deleted the one provided and ran the sample code, it connect ran the INSERT and SELECT / logged response. I do not know what the differences are between the System.Data DLLs provided in unity and this repo are.