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
I ran this: dotnet ef database update --startup-project ../<my_project> --environment Development
This gives: Unrecognized option '--environment'
I'm using:
.NET Command Line Tools (2.1.504)
The text was updated successfully, but these errors were encountered:
FunkyLambda
changed the title
Unrecognized option '--environment' when using botnet cli tools
Unrecognized option '--environment' when using dotnet cli tools
Mar 14, 2019
@bricelam Can I read this value from my migration file (i.e. Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"))? Will it be passed as an env variable?
As per the following comment by @bricelam:
#7353 (comment)
I ran this:
dotnet ef database update --startup-project ../<my_project> --environment Development
This gives:
Unrecognized option '--environment'
I'm using:
.NET Command Line Tools (2.1.504)
The text was updated successfully, but these errors were encountered: