Moving from MVC to Core Help RRS feed

  • Question

  • User1034446946 posted


    In ASP.NET mvc 5 i have EFsetup in a class library with my context and entity models etc,and when I run a migration its done through the startup file which is the MVC project, which is nice and keeps my entities seperate. (i used fairly long migrations commands which is also fine.

    I am trying to move over to .Net Core, and i want to have a simialr set, but I can't find any tutorials or clean examples which do this, I have found examples which use a work around by adding a different dummy application project, but I have seem things which say this has been added in newer versions but I can't find anything.

    If anyone has a link to how I can achieve this it would be appriciated.

    Thursday, February 21, 2019 3:42 AM


  • User1034446946 posted

    got it working was missing an assembly reference

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 21, 2019 4:35 AM