MovieAngularJSApp icon indicating copy to clipboard operation
MovieAngularJSApp copied to clipboard

how to install the K Version Manager (KVM) k ef migration add ...

Open petervn opened this issue 9 years ago • 2 comments

question: "how to install the K Version Manager (KVM) k ef migration add ..." answer : http://www.asp.net/vnext/overview/aspnet-vnext/vc
Install the K Version Manager (KVM)

Open a command prompt with Run as administrator. Run the following command: @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.ps1'))"

The script installs KVM for the current user. Exit the command prompt window and start another as an administrator (you need to start a new command prompt to get the updated path environment). Upgrade KVM with the following command: KVM upgrade You are now ready to run EF migrations. Run EF migrations

In an administrator command window, change the directory to the project directory. The project directory contains the project.json file. In a command prompt, run the following: k ef migration add initial k ef migration apply

petervn avatar Apr 11 '15 15:04 petervn

Did you run it over KRE beta2 or beta3?

I have beta3 in my computer but I can't run kvm install 1.0.0-beta2 because I get 404 error.

Any ideia to install beta2 to run this project?

alexsandro-xpt avatar Apr 15 '15 20:04 alexsandro-xpt

i only show you how to install kvm . I use VS2015 CTP .... i dont know :KRE beta2 or beta3? you can refer http://gunnarpeipman.com/2014/10/asp-net-5-what-are-kre-kvm-kpm/

petervn avatar Apr 16 '15 08:04 petervn