Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Entity Framework 6 and MySql not seeing each other after VS 2013 re-install

$
0
0

I had to re-install VS 2013 after I was having persistent PC issues, actually reformatted whole PC, reinstalled Windows 7 Ultimate and then VS 2012 and VS 2013.

I cannot get any new projects to work with MySql now. I also noticed that when installing EF6 via nuget, that no section entry is entered into the web config and no entityframework element is added to the webconfig either.

This element in all my prior projects enabled VS2013 and Mysql to work together with no issues. It works fine in VS2012, I can import a new model from a database but IT DOESNT work in VS2013 anymore.

I installed MySql in the right order per the mysql forum, Installer for Visual Studio first, then the .net connector.

 <configSections>    
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

 </configSections>    

 <entityFramework codeConfigurationType="MySql.Data.Entity.MySqlEFConfiguration, MySql.Data.Entity.EF6">
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
    <providers>
      <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"></provider>
    </providers>
  </entityFramework>


Thomas Donino Visual Studio 2010 on Windows 7


Viewing all articles
Browse latest Browse all 4410

Trending Articles