Legacy Dev Forum Posts

 View Only

Sign Up

"warning" when using .net SDK in ".Net Core 3.1" application

  • 1.  "warning" when using .net SDK in ".Net Core 3.1" application

    Posted 06-05-2025 18:06

    Mohankrishna | 2022-05-21 11:57:53 UTC | #1

    I understand that the SDK is a build compatible ".net standard 2.0" but when I add the nuget package to my .net core 3.1 project, I get a warning i.e.

    Warning NU1701 Package 'ini-parser 3.4.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.

    https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1701?f1url=%3FappId%3DDev16IDEF1%26l%3DEN-US%26k%3Dk(NU1701)%26rd%3Dtrue

    Can you please confirm if we can ignore this warning and SDK is ok to use on .Net Core 3.1 targeting Linux? - I do not want to spend time and efforts and later realize it is not useful...


    anon14299330 | 2022-06-01 16:27:42 UTC | #2

    Hi,

    This warning is more than likely safe to ignore. The ini-parser is just used for parsing the optional config file if its in INI format. You can report any issues if they pop up.

    Thanks,

    Mike


    Mohankrishna | 2022-06-02 05:57:06 UTC | #3

    @anon14299330, Thank you for responding. Intension is to deploy on Linux where the ini files are used. I will try out samples and will report any issues


    John_Carnell | 2022-06-02 13:25:20 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 14828