您好,我有一个使用 linqtodb 创建的项目,其中包含 MySQL 中的数据库并进行升级,以便我可以使用 Windows 10,问题越来越大,我被迫删除 linq2db 和所有依赖项,现在当我已经重新安装并尝试运行与数据库的连接系统给我这个错误:
Severity Code Description Project File Line Suppression State Error Compiling transformation: Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type ~\..\contentFiles\any\any\LinqToDB.Templates\LinqToDB.ttinclude 1012
更新
我清理了缓存给我一个错误,更新实体框架显然无法安装,因为这个:
Error Could not install package 'MySql.Data 8.0.16'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0
任何帮助提前感谢。