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

PMC commands detailed in the wiki page won't work #2233

Closed
lnaie opened this issue May 19, 2015 · 2 comments
Closed

PMC commands detailed in the wiki page won't work #2233

lnaie opened this issue May 19, 2015 · 2 comments

Comments

@lnaie
Copy link

lnaie commented May 19, 2015

Hi,

This is the help page that I've used trying to apply the pre-generated migration of a default vnext MVC project:
https://github.com/aspnet/EntityFramework/wiki/Using-EF7-in-Traditional-.NET-Applications

There's no Add-Migration or Apply-Migration PMC command.
I had to run the following command to get the migration applied:
PM> dnx ./ProjectPath ef migration apply

Wasting time on simple stuff when starting with vnext is not fun. :)
Thanks

@rowanmiller
Copy link
Contributor

Hey,

That page is about traditional .NET applications (WPF, WinForms, ASP.NET vCurrent, etc.). For ASP.NET 5 the commands don't work in PMC (at least not yet). You can use dnx . ef at a command prompt for ASP.NET 5 (or you can do it via PMC as you discovered).

~Rowan

@bricelam
Copy link
Contributor

(See also aspnet/dnx#952)

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
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

4 participants