【发布时间】:2017-08-30 06:25:41
【问题描述】:
我一直在尝试使用默认项目在 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
编辑:忘了告诉我尝试了什么。
【问题讨论】:
标签: c# mysql visual-studio visual-studio-2017