Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vs restart when Scaffold-DbContest not recognized #209

Merged
merged 2 commits into from Jul 5, 2016
Merged

vs restart when Scaffold-DbContest not recognized #209

merged 2 commits into from Jul 5, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jun 30, 2016

Restarting vs is usually needed in order to run Scaffold-DbContext
-Discussed in more detail here: dotnet/efcore#5376

I'm two for two in needing to restart visual studio to run Scaffold-DbContext. The issue is mentioned in this thread: dotnet/efcore#5376 and would be helpful to know for people going through the tutorial.
@dnfclas
Copy link

dnfclas commented Jun 30, 2016

Hi @lexman42, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.

TTYL, DNFBOT;

@@ -68,7 +68,7 @@ Reverse engineer your model
Now it's time to create the EF model based on your existing database.

* :menuselection:`Tools –> NuGet Package Manager –> Package Manager Console`
* Run the following command to create a model from the existing database
* Run the following command to create a model from the existing database, if the command is not recognized you may need to restart visual studio
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the new text should read

Run the following command to create a model from the existing database. If you receive see an error stating The term 'Scaffold-DbContext' is not recognized as the name of a cmdlet, the close and reopen Visual Studio.

@rowanmiller rowanmiller self-assigned this Jul 1, 2016
@rowanmiller
Copy link
Contributor

Proposed a change to the text, will merge once update is made.

@rowanmiller rowanmiller merged commit 143deeb into dotnet:master Jul 5, 2016
@rowanmiller
Copy link
Contributor

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants