3

I'm following this tutorial: https://learn.microsoft.com/en-us/ef/core/get-started/aspnetcore/new-db

Everything looks fine. I've installed .NET Core, Entity Framework (and EF.Tools) and MSSQL, the project is built correctly and the DB is online, but when I run the Add-Migration command I have this output:

PM> Add-Migration base -Verbose
Using framework 'netcoreapp1.0'
Using data directory '<root_path>\.\bin\Debug\netcoreapp1.0'
Build started...
Build failed.

When I start the projet (F5) it compiles and run well (but without the migration), same with dotnet build:

Compilation succeeded.
0 Warning(s)
0 Error(s)
Time elapsed 00:00:01.6124860

I don't have any error message, the dotnet restore has completed without failure. Anyone knows where I can find the migration logs or how to display more informations ?

rxoct
  • 31
  • 1
  • 3

0 Answers0