我正在使用Asp.Net Boilerplate模板構建新的asp.net核心應用程序。當我運行以下命令使用EF 6創建新遷移時出現未處理的異常
dotnet ef migrations add "created_new_BM_entities"
構建啓動sucessfull沒有任何異常或警告。過了一會後,我收到以下異常,且處理停止:
未處理的異常:System.InvalidOperationException:無法 調用工具的dotnet-EF。貝 Microsoft.Extensions.Internal.DotnetToolDispatcher.EnsureValidDispatchRecipient(字符串[] & programArgs,字符串工具名)貝 Migrator.EF6.Tools.Program.Main(字串[] args)
請注意,模板使用Entity Framework 6.1.3和tutorial explains使用dotnet ef命令。因此我想我的系統配置有問題。但我不知道我可以從哪裏開始尋找問題。