简体   繁体   中英

Bin - deploying a MySQL Entity Framework Provider - based application in WPF?

I need to deploy a normal WPF application with the MySQL EF provider on a machine that don't have the MySQL Connector installed but obviously i got a sort of "Provider not found" exception.

I copied the references data in the executable directory (MySQL.Data.Entity.dll, MySQL.Data.dll, etc..)

What i need to do?

Thank you

You should reference in your Code (via Nuget) MySQL.Data and MySQL.Data.Entities. Then it should work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM