ITPub博客

首页 > 应用开发 > > .NET Core 3.0 Preview 4 升级到 Preview 5

.NET Core 3.0 Preview 4 升级到 Preview 5

作者:jasonhsp 时间:2019-09-02 09:25:14 0 删除 编辑

一个 asp.net core 程序,之前在 .net core 3.0 preview 4 上可以正常运行,昨天升级到 preview 5 后运行时出现下面的错误:

Microsoft.AspNetCore.Server.Kestrel
System.TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotationsBuilder' from assembly 'Microsoft.EntityFrameworkCore.Relational, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
   at Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal.SqlServerModelBuilderAnnotations..ctor(InternalModelBuilder internalBuilder, ConfigurationSource configurationSource)

请问如何解决?

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/615/viewspace-3170855/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-12

  • 博文量
    342
  • 访问量
    2725