You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Currently struggling also with this same issue. As far as we can tel, the tools are included in Core 2.0+. That is why it is hard to install. Currently have been stuck on migrations for 2 hours
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 errorthe
dotnet ef
command just not usable:after some google reading, I even installed it with a
edit .csproj file
method,the message changed to:
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.
The text was updated successfully, but these errors were encountered: