Hi,
I am hoping that you can help me with an issue.
I am running Visual Studio 2013 Update 1 on Windows 7 x64
I installed mysql-for-visualstudio-1.1.4 and mysql-connector-net-6.8.3
In VS, I create a new website targetFramework="net4.5.1"
With Nuget install the following:
EntityFramework version="6.1.0"
MySql.ConnectorNET.Data version="6.8.3.2"
MySql.ConnectorNET.Entity version="6.8.3.2"
The web.config is as follows:
=======
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<system.web>
<compilation debug="true" targetFramework="4.5.1">
<buildProviders>
<add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" />
</buildProviders>
<assemblies>
<add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5" />
</system.web>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
<providers>
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<clear />
<add name="MySQL" description="ADO.Net driver for MySQL" invariant="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
</DbProviderFactories>
</system.data>
</configuration>
======
Rebuild solution.
Then I try to add a new ADO.NET Entity Data Model>Generate From Database>Define Connection>
Then I get the error "Your project references the latest version..."
The strange thing is that if I create a console application with the exact same steps and entries in App.config, it all works just fine.
Any help is appreciated.
I am hoping that you can help me with an issue.
I am running Visual Studio 2013 Update 1 on Windows 7 x64
I installed mysql-for-visualstudio-1.1.4 and mysql-connector-net-6.8.3
In VS, I create a new website targetFramework="net4.5.1"
With Nuget install the following:
EntityFramework version="6.1.0"
MySql.ConnectorNET.Data version="6.8.3.2"
MySql.ConnectorNET.Entity version="6.8.3.2"
The web.config is as follows:
=======
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<system.web>
<compilation debug="true" targetFramework="4.5.1">
<buildProviders>
<add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" />
</buildProviders>
<assemblies>
<add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5" />
</system.web>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
<providers>
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<clear />
<add name="MySQL" description="ADO.Net driver for MySQL" invariant="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
</DbProviderFactories>
</system.data>
</configuration>
======
Rebuild solution.
Then I try to add a new ADO.NET Entity Data Model>Generate From Database>Define Connection>
Then I get the error "Your project references the latest version..."
The strange thing is that if I create a console application with the exact same steps and entries in App.config, it all works just fine.
Any help is appreciated.