Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Add-Migration Error #4289


User avatar
0
Ignasi created

Hi, I'm using a net core & angular (blank app). The solution compiles and works fine with default data.The initial Update-database is successful with Migrator Tool. When i'm trying to add my first custom entity, through PM> it throws this error.

System.Exception: Could not find content root folder!
   at TestProject.Web.WebContentDirectoryFinder.CalculateContentRootFolder() in D:\Projects\TestProject...

Can you help me plz?

Ignasi


6 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    This should be fixed in v5.0.1. But you can download v5.0.4 now.

  • User Avatar
    0
    Ignasi created

    How can I upload to 5.0.4 with nugets?

  • User Avatar
    0
    aaron created
    Support Team

    Not with NuGet.

    How to migrate existing solution: https://github.com/aspnetzero/aspnet-zero/issues/96#issuecomment-268093697

  • User Avatar
    0
    Ignasi created

    Thanks for your help, I'm logged with the github user but i can't access with this link. (404 page) I can see the <a class="postlink" href="https://github.com/aspnetzero/">https://github.com/aspnetzero/</a> but not the <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero">https://github.com/aspnetzero/aspnet-zero</a> . (404 page)

    Any idea? thx

  • User Avatar
    0
    aaron created
    Support Team

    You can invite yourself here: <a class="postlink" href="https://aspnetzero.com/LicenseManagement">https://aspnetzero.com/LicenseManagement</a>

  • User Avatar
    0
    Ignasi created

    Sorry, i'm using another github account. Thx for all aaron!!