.NET MySQL Connector Conflicting DbProviderFactories

后端 未结 2 874
日久生厌
日久生厌 2020-12-14 17:46

I\'m using the .NET MySQL Connector with Entity Framework 4, and everything worked great but I wanted to package the MySQL client DLL files with my application when deployed

2条回答
  •  旧时难觅i
    2020-12-14 18:17

    You can also consider to copy all mysql DLLs from C:\Program Files (x86)\MySQL\MySQL Connector Net 6.8.3\Assemblies\v4.0 into your project's bin folder. By that way EF6 can reach all required MySQL connector(MySql.Data) sub-classes.

提交回复
热议问题