Can't build my Project

I can run my project and everything is working. When I build it: There should be ‘Testbuild0.01_Data’
folder next to the executable

ArgumentException: The Assembly System.Configuration is referenced by System.Data (‘Assets/System.Data.dll’). But the dll is not allowed to be included or could not be found.

After I put the: D:\Programme\Unity3D Engine\Editor\Data\Mono\lib\mono\unity into the Asset folder:

The Assembly System.Configuration.Install is referenced by MySql.Data (‘Assets/MySql.Data.dll’). But the dll is not allowed to be included or could not be found.

I tried so many solutions but I don’t know what to do… How can I build the project with this DLL? It all works fine by debugging in Unity…

As much as I’d hate to provide an answer too late for it to be useful, there’s a whole tree of dependencies that need to be followed. The end list ended up being this for me:

  • System.Configuration.dll
  • System.Configuration.Install.dll
  • System.Data.dll
  • System.Drawing.dll
  • System.EnterpriseServices.dll
  • System.Management.dll
  • System.Security.dll

However, I’ve run aground on a separate issue that’s causing issues on the built version.