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

How resolve warning Package 'Abp.AspNetZeroCore 1.2.0' was restored using '.NETPortable #6510


User avatar
0
ojarana created

i have a clean 6.6.1 version download but when compile have this warning, how resolve this?

C:\Proyectos\GL (6.6.1)\GL\src\GL.Web.Mvc\GL.Web.Mvc.csproj : warning NU1701: Package 'Abp.AspNetZeroCore 1.2.0' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Try changing netcoreapp2.1 to netcoreapp2.2 https://github.com/aspnetzero/aspnet-zero-core/commit/83e92928c2711195c9a3d6545a8fb8bb35a8610b

  • User Avatar
    0
    ojarana created

    I try but not work, clean app, update all include framework and all library, warning ever. not afect but a warning is a furure problem.

    i wait for other sugest

  • User Avatar
    0
    maliming created
    Support Team

    I use the source code of v6.6.1 did not find the warning you encountered, you can look at the source code of v6.6.1, if you can share the project source code that can reproduce the problem is best.

  • User Avatar
    0
    ojarana created

    I begin from 0, review all frameworks and libraries, clear solution, review all steps but..

    Note: with 6.6.0 not have any issue, is just the 6.6.1 the problem. Some new feature maybe.!

  • User Avatar
    0
    maliming created
    Support Team

    Can you share your project source code? You can remove the privacy code,I think removing most of the code can also reproduce the problem.

    email: [email protected]