Good day to all, this is not so much a question as an answer. Since today spent N the amount of time to search for an answer. And so simple team
eneble-migration turned into a text quest with pictures.
Since the task changes from one update to another for today, the rules for passing are as follows: 1. At this time, no packages need to be installed, they are all in the solution. Attempting to deliver something only worsened the situation. This package is responsible for the migration
EntityFramework.Commands (7.0.0-rc1-final) At the command prompt, enter
dnx
- here I started the quest, if you saw the answer in the line, you can proceed to the next step.
If not, close all VS2015 windows and delete the folder.
C: \ Users \ YOURUSERNAME.dnx
Open VS2015 and create a new project and close VS2015, in Powershell we navigate
cd \
cd users \ YOURUSERNAME.dnx \ bin and the command. \ dnvm upgrade
If you get the error message “Script execution is disabled on this system. THAT you need to execute the following command to get permission
Set-ExecutionPolicy RemoteSigned Open VS2015 and check on the command line.
dnx If you see the answer, then the first stage is passed.
- Next we need to move to the folder in the command line -
cd src \ MyProject
dnx ef - where the team checks that everything is working correctly for us, if everything is OK, then we will see the Unicorn. And entering the command
dnx ef migrations –- help we will see all possible options for the development of the storyline further.
This decision was taken here from these two answers the main , transitions and commands