Could not load file or assembly 'Microsoft.EntityFrameworkCore.Relational 提示的很明确了,缺少Microsoft.EntityFrameworkCore.Relational引用。nuget安装上即可。