I have an old C++ desktop application which I am working though and updating. I have installed the Entity Framework 6.4.4 and MySQL.Data.EntityFramework 8.0.20. I'm getting the above error and after looking around it was based on the entity framework not being added in, so I went and did that, but I still am getting the same error.
Also, the error points to the app.exe log file, but that logfile is from a couple of days ago, and doesn't look to have latest version of my config file since I had updated it, and it doesn't show the new code. I copied everything over from when I rebuild the solution, so I'm not sure why the old log file is still there.
The start line which the error points to is the start of this.
<entityFramework>
<providers>
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.20.0, Culture=neutral, PublicKeyToken=<tokenID>"
</provider>
</providers>
</entityFramework>
The only other line the error message points to is below and the value for the instance ID is 999, and I haven't changed it.
String ^iid = System::Configuration::ConfigurationManager::AppSettings["instanceId"];