Skip to content

Reverse-Engineer: Scaffold-DbContext not working on ASP.NET Core project #5614

@saf-itpro

Description

@saf-itpro

When using win 7 with VS2015 latest update 2 I'm getting the following issue on: Reverse Engineering Your Model. I've completed all the previous steps successfully in the above article:

I use the following command to run
PM> Scaffold-DbContext "'Server=MyMachine\SQL2012;Database=MyDbName;Trusted_Connection=True;''" Microsoft.EntityFrameworkCore.SqlServer

I get the following error:
**At line:1 char:75

  • & '' ef --configuration Debug --build-base-path .\bin\ dbcontext scaffold 'Serve ...
  • The string is missing the terminator: '.**
    
    

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions