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

After upgrade to abp1.1.1 *.EntityFramework doesn't work #2043


User avatar
0
trendline created

I just upgraded my projects to ABP 1.1.1 and asp.net core 1.1.0, but when I running the *.EntityFramework to do database migration I got below messages:

E:\Users\trendline\Source\Repos\SRP\SRP\src\Viewtance.SRP.EntityFramework>dotnet ef database update The specified framework 'Microsoft.NETCore.App', version '1.1.0' was not found.

  • Check application dependencies and target a framework version installed at: C:\Program Files\dotnet\shared\Microsoft.NETCore.App
  • The following versions are installed: 1.0.0 1.0.0-rc2-3002702 1.0.1
  • Alternatively, install the framework version '1.1.0'.

How to resolve this issue?


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Add "version": "1.0.0-preview2-003131" to global.json (in Solution Items in your solution). It should be like that:

    { "projects": [ "src", "test" ], "sdk": { "version": "1.0.0-preview2-003131" } }

  • User Avatar
    0
    trendline created

    It already existed the configurations in global.json. It seems no entrance to install the Microsoft.NetCore.App 1.1.0

  • User Avatar
    0
    trendline created

    Many thanks for your support.

    I already fixed by install .Net core 1.1.0 runtime on my machine.