Visual Studio 2017 + entity framework + 身份 + mysql 不工作

Visual Studio 2017 + entity framework + identity + mysql not working

我一直在尝试使用默认项目创建 visual studio 2017 的 REST API。 这适用于 SQL 本地数据库,但是当我尝试使用本教程将其转换为 MySQL 变体时: https://docs.microsoft.com/en-us/aspnet/identity/overview/getting-started/aspnet-identity-using-mysql-storage-with-an-entityframework-mysql-provider

我收到这个错误:

'The Entity Framework provider type 'MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity' registered in the application config file for the ADO.NET provider with invariant name 'MySql.Data.MySqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.'

本教程适用于 visual studio 2015。 我注意到来自 devart 或 mysql 的 dotnet 连接器等其他东西不适用于 visual studio 2017 年,我来得早吗?

我已经尝试过这些解决方案: - Enity Framework With MySQL

编辑:忘记告诉我我尝试了什么。

该教程来自 2013 年。MySQL 连接器尚不支持 visual studio 2017,预计很快就会支持,与此同时 Devart 有一个连接器可与 Visual Studio 2017 和MySQL。

编辑

MySQL 现在原生支持 Visual Studio 2017。更多信息请访问:https://dev.mysql.com/doc/visual-studio/en/visual-studio-install.html

可能对其他人有帮助。 MySQL 1.2.7版本支持Visual Studio 2017点击下方link了解更多详情

https://forums.mysql.com/read.php?3,656703,656703#msg-656703