Bug #91093 | MySql for Visual studio devenv /updateconfiguration command still fails | ||
---|---|---|---|
Submitted: | 31 May 2018 16:08 | Modified: | 6 Jun 2018 8:30 |
Reporter: | A S | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Visual Studio Integration | Severity: | S3 (Non-critical) |
Version: | 1.2.8 | OS: | Windows (7) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Installing-Error |
[31 May 2018 16:08]
A S
[2 Jun 2018 0:03]
A S
Okay so I solved the problem after like 4 days. What i figured out that for some reason the "latest version of the Connector/Net 8.0.11" wasnt working with windows 7. Also worth to mention the MySql for visual studio 1.2.8 even tho it threw an error at installing it kinda installed itself. Here is how i fixed it: Removed Latest version of Connector/Net and installed Connector/Net 6.10.7 then I installed the " MySql for visual studio 1.2.8" still with the error. Then i had to copy manually the .dll files from the connector to:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2" (I had to overwrite then and it was a must have step for some reason. I am not sure if this is caused by the previous install spams from me) Then another critical step was: And I mean this is in the DEVELOPER GUIDE WHICH CAUSED AT LEAST 1 DAY OF THINKING https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html Are you aware that you Guide the developer to update his app.config file at STEP 1 then YOU SUGGEST TO USE Nudget package installer at STEP 2. I tested it if you dont know whats happening here and of course for the first time you wont know basically if you did what STEP 1 told you to do then you basically screw up nudget package installer. So basically the correct step was to ignore that full guide and let Nudget do all the work update your app.config and it worked. If somebody is reading this because he has the same problem shortfix: -Install Connector/Net 6.10.7 -Install MySql for visual studio 1.2.8 -Copy all .dll from C:\Program Files (x86)\MySQL\MySQL Connector Net 6.10.7\Assemblies\v4.5.2 -To C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2 -Start your project -Set the project where you want the entity model to Startup project -Run https://www.nuget.org/packages/MySql.Data.Entity/ PS: I don't know why isnt it copying the GOOD AND WORKING .dll files to the Reference assemblies folder but MYSQL pls this topic had 50 thousand views with this problem https://stackoverflow.com/questions/21206184/cant-use-a-mysql-connection-for-entity-framew...
[6 Jun 2018 8:30]
Chiranjeevi Battula
Hello anyƔd bazdmeg, Thank you for your feedback. I'm glad that you found a solution for your problem and let us know if you are still having the issue with complete repeatable steps. Thank you for your interest in MySQL. Thanks, Chiranjeevi.