Hello everyone,
I am not able to migrate my asp.net 5 project.
In project.json -> "EntityFramework.SqlServer": "7.0.0-beta5"
Developer Command Prompt for VS2015
D:\xxx\xxx.Asp.Net\src\xxx.Asp.Net> (Where project.json is located)
DNVM setup
DNVM update
DNVM list
dnvm use 1.0.0-beta5 -r CLR -arch x64
DNVM list
dnu restore
The project compiles after this.
Now I wanted to generate my Database and add migrations:
Developer Command Prompt for VS2015
D:\xxx\xxx.Asp.Net\src\xxx.Asp.Net> (Where project.json is located)
dnx . ef migrations add MyFirstMigration
After that I get the following Error (in the Command Console), I would most greatly appreciate any help or tips on that as well, Thank You, Kindest Blessings
D:\xxx\xxx.Asp.Net\src\xxx.Asp.Net>dnx . ef migrations add xx
Specify --help for a list of available options and commands.
System.Exception: TODO: Error: unrecognized argument 'migrations'
at Microsoft.Framework.Runtime.Common.CommandLine.CommandLineApplication.Hand
leUnexpectedArg(CommandLineApplication command, String[] args, Int32 index, Stri
ng argTypeName)
at Microsoft.Framework.Runtime.Common.CommandLine.CommandLineApplication.Exec
ute(String[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute(Assembly ass
embly, String[] args, IServiceProvider serviceProvider)
at Microsoft.Framework.ApplicationHost.Program.ExecuteMain(DefaultHost host,
String applicationName, String[] args)
at Microsoft.Framework.ApplicationHost.Program.Main(String[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute(Assembly ass
embly, String[] args, IServiceProvider serviceProvider)
at dnx.host.Bootstrapper.RunAsync(List`1 args, IRuntimeEnvironment env)
at dnx.host.RuntimeBootstrapper.ExecuteAsync(String[] args)
at dnx.host.RuntimeBootstrapper.Execute(String[] args)