Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document ef.exe #328

Closed
bricelam opened this issue Jan 12, 2017 · 4 comments
Closed

Document ef.exe #328

bricelam opened this issue Jan 12, 2017 · 4 comments

Comments

@bricelam
Copy link
Contributor

bricelam commented Jan 12, 2017

It lives in both the Microsoft.EntityFrameworkCore.Tools and Microsoft.EntityFrameworkCore.Tools.DotNet package. There are three versions of it:

Assembly Notes
tools/net451/ef.exe For .NETFramework and UAP
tools/net451/ef.x86.exe Same as above but for x86 assemblies on an x64 OS
tools/netcoreapp1.0/ef.dll For .NETCoreApp and .NETStandard

To run on .NET Core, use the following. (This is shown in the the verbose output on PMC and dotnet ef.)

dotnet exec --depsfile MyApp.deps.json --runtimeconfig MyApp.runtimeconfig.json ef.dll ...
@bricelam
Copy link
Contributor Author

@ajcvickers was testing this on an x86 OS and found that ef.exe didn't work and he needed to use ef.x86.exe instead.

@bricelam
Copy link
Contributor Author

Got to the bottom of it. It's not AnyCPU as it's expected to be. Filed dotnet/efcore#7401

@rowanmiller
Copy link
Contributor

Consolidating with #204

@natemcmaster natemcmaster mentioned this issue Feb 1, 2017
7 tasks
@bricelam
Copy link
Contributor Author

Reopening since I'm closing #204 without this.

@bricelam bricelam reopened this Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants