none
IoT Core compatibility with .Net Core RRS feed

  • Question

  • I made a BackgroundTask application which runs fine on Raspberry Pi 3B targeting 17763, minimum 15063.

    I have some code in a .net core class library project which is referred by the background application, but it seems like the highest version of target framework on this to be accepted by the background app is .net standard 1.4.

    I have read something about UWP support for .net standard 2.2 and possibly also the emerging version 3.

    Can someone explain or refer to info explaining exactly how the relations between IoT Core (ARM), .net core and .net standard?

    Sunday, June 9, 2019 8:13 AM

Answers

  • Hello EuroEager,

    UWP version 15063 support the highest version of .NET Standard is 1.4. To support.NET Standard 2.0 you need UWP minimum target version is 16299.

    Please refer to ".NET Standard Versions" to understand what the highest version of .NET Standard is that you can target, based on which .NET platforms you intend to run on.

    To solve this issue you need either downgrade the .NET Standard to version 1.4 or upgrade the minimum target version of the background application to 16299. Windows IoT Core background application is also UWP application so it follows the same rules with UWP.

    Best regards,
    Rita


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by EuroEager Monday, June 10, 2019 8:54 AM
    Monday, June 10, 2019 1:59 AM
    Moderator

All replies

  • Hello EuroEager,

    UWP version 15063 support the highest version of .NET Standard is 1.4. To support.NET Standard 2.0 you need UWP minimum target version is 16299.

    Please refer to ".NET Standard Versions" to understand what the highest version of .NET Standard is that you can target, based on which .NET platforms you intend to run on.

    To solve this issue you need either downgrade the .NET Standard to version 1.4 or upgrade the minimum target version of the background application to 16299. Windows IoT Core background application is also UWP application so it follows the same rules with UWP.

    Best regards,
    Rita


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by EuroEager Monday, June 10, 2019 8:54 AM
    Monday, June 10, 2019 1:59 AM
    Moderator
  • Thanks Rita

    I misunderstood the Minimum setting, works like a charm now.

    Monday, June 10, 2019 8:54 AM
  • You're welcome.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, June 10, 2019 9:27 AM
    Moderator