在此之後Microsoft Tutorial當我運行在從同一個教程中,我得到以下錯誤創建VS2015項目PM> Add-Migration MyFirstMigration
命令,我解決不了:ASP.NET核心EF添加遷移命令不工作
More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.
注意點
- 我使用的是我使用
Individual User Account
驗證,而不是No Authentication
在教程中使用的例外上面的教程。 - 我已發佈最新版本
ASP.NeT Core 1.0 and VS2015-Update 3 on windows 8.1
- 這是一個新創建的項目。沒有其他的DbContext手動安裝
錯誤文本描述了原因,你應該怎麼做。 – dotctor