我在致电UserMananger.FindByEmailAsync
Exception thrown: 'System.MissingMethodException' in EntityFramework.Core.dll
Additional information: Method not found: 'Remotion.Linq.Parsing.ExpressionVisitors.TreeEvaluation.PartialEvaluationInfo Remotion.Linq.Parsing.ExpressionVisitors.TreeEvaluation.EvaluatableTreeFindingExpressionVisitor.Analyze(System.Linq.Expressions.Expression)'.
这是我的project.json
依赖项:
"EntityFramework": "7.0.0-beta6-*",
"EntityFramework.Commands": "7.0.0-beta6-*",
"EntityFramework.Core": "7.0.0-beta6-*",
"EntityFramework.SqlServer": "7.0.0-beta6-*",
"Microsoft.AspNet.DataProtection": "1.0.0-beta6-*",
"Microsoft.AspNet.Diagnostics": "1.0.0-beta6-*",
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-beta6-*",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta6-*",
"Microsoft.AspNet.Mvc": "6.0.0-beta6-*",
"Microsoft.AspNet.Owin": "1.0.0-beta6-*",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta6-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta6-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta6-*",
"Microsoft.AspNet.WebApi.Core": "5.2.3",
"Microsoft.Framework.Configuration": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.EnvironmentVariables": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.Json": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.UserSecrets": "1.0.0-beta6-*",
"Microsoft.Framework.DependencyInjection": "1.0.0-beta6-*",
"Microsoft.Framework.DependencyInjection.Ninject": "1.0.0-beta6-*",
"Microsoft.Framework.Logging": "1.0.0-beta6-*",
"Microsoft.Framework.Logging.Console": "1.0.0-beta6-*",
"Microsoft.Owin": "3.0.1",
我错过了什么?
答案 0 :(得分:1)
您似乎缺少re-linq。但是应该安装它,因为它是" EntityFramework.Core"的依赖性。
尝试删除" EntityFramework":" 7.0.0-beta6 - *",因为此软件包没有will not exist。它可能是冲突的根源?只是一个猜测。
<强>更新强>
您可以使用dnu list
验证relinq的安装版本,并查看&#34;软件包参考&#34;。你应该有&#34; Remotion.Linq 2.0.0-alpha-004&#34;
列出