Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Getting Started on ASP.NET 5 with EF 7.0.0-beta7

$
0
0

I'm starting to explore VS 2015 using the new asp.net 5 and ef.   I'm following the documentation provided at: http://ef.readthedocs.org/en/latest/getting-started/aspnet5.html

Running into a problem with in the create database section.

This is not working: dnx ef migrations add MyFirstMigration

My first execution of this resulted in a message that I needed to :  dnu restore 

I executed dnu restore and appears to work without errors.

Then I tried dnx ef migrations add MyFirstMigration again and that generated a new error: 

System.InvalidOperationException: Unable to load application or execute command 'EntityFramework.Commands'. Available commands: web, ef.
at Microsoft.Dnx.ApplicationHost.Program.ThrowEntryPointNotfoundException(DefaultHost host, String applicationName, Exception innerException)

The project build fails with zero error in the Error List.  

Hopefully this is something simple that I'm missing.

Any ideas on what/where the problem is?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>