-
Notifications
You must be signed in to change notification settings - Fork 98
Can't follow the instructions #8
Description
Hi @JacekKosciesza , thank you for such a good content.
After explored briefly, I decided to follow the instructions as a leaning,
but I found there is something different from my environment,
like project.json in the beginning part, it happened here and there,
I just googled and tried to step back to follow the instructions.
And finally, on the Microsoft.EntityFrameworkCore.Tools.DotNet part,
as I clicked the install button for this nuget package, encountered an error
Package 'Microsoft.EntityFrameworkCore.Tools.DotNet 1.0.1' has a package type 'DotnetCliTool' that is not supported by project 'StarWars.Data'.
the dotnet ef command just not usable:
$ dotnet ef migrations add Initial -o .\EntityFramework\Migrations
No executable found matching command "dotnet-ef"
after some google reading, I even installed it with a edit .csproj file method,
the message changed to:
$ dotnet ef
System.IO.FileNotFoundException: Could not find file 'D:\projects\starWarsLearn\starWars.Data\project.json'.
File name: 'D:\projects\starWarsLearn\starWars.Data\project.json'
at System.IO.Win32FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, FileStream parent)
......(13 lines of stack trace)
Could not find file 'D:\projects\starWarsLearn\starWars.Data\project.json'.
In order to peek a little, I cloned your repository, but found it just
not working on my machine(Win10-64bit VS2017), all dependencies
under NuGet have a little yellow triangle on them, and the compiling
reported many errors

Sorry, if I misused your tutorial, but I think it's just outdated for the
development environment, and I don't know how to setup a same
environment, would you please upgrade it?
And thank you for the original tutorial any way.