Unity3d 3.4.1 sqlite bulid error

I find system.data.dll from the monodevelop folds

and run it, no issue

but when I build it,

it show:

ArgumentException: The Assembly System.Configuration is referenced by System.Data. But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssemblies Recurse (System.String assemblyPath, System.Collections.Generic.List1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2 cache)
UnityEditor.AssemblyHelper.AddReferencedAssemblies Recurse (System.String assemblyPath, System.Collections.Generic.List1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2 cache)
UnityEditor.AssemblyHelper.AddReferencedAssemblies Recurse (System.String assemblyPath, System.Collections.Generic.List1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2 cache)
UnityEditor.AssemblyHelper.FindAssembliesReference dBy (System.String paths, System.String foldersToSearch)
UnityEditor.HostView:OnGUI()

how to fix it

What import (or using) do you use to include sqlite?

Are you using any code stripping?

Copy System.Configuration.dll into the Unity project. That’s what the error message is saying is missing. (If you have already done this, then the error message means that this DLL is not allowed to be used in a Unity project, so you’re out of luck.)

Probably not the best solution but its what I did to fix the problem

At first I tried the free route which uses System.Data and Mono.Data.SqliteClient

However that is what lead me to this post and the error above.

Trying to spend the least amount of time trying to fix the error, I tried the paid solution.

However after following the readme I still had the above errors. It wasnt until I cleared out the plugins directory that it worked.

Im still hoping the free version works. And I have asked in the comments above, but even still it probably should be its own question. FYI this is specifically for building. Regular “playing” of the scene worked fine.