Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ruder Partap Singh 28 posts 142 karma points
    Nov 10, 2022 @ 13:11
    Ruder Partap Singh
    1

    Azure devops Nuget restore error SixLabors.ImageSharp.Web 2.0.2 is not compatible with net60

    Hi I am getting error when I try to create pipeline in azure devops Umbraco v.10 , has anyone got similar error and any Idea how to solve it

    error is

    [error]The nuget command failed with exit code(1) and error(NU1202: Package SixLabors.ImageSharp.Web 2.0.2 is not compatible with net60 (.NETFramework,Version=v6.0). Package SixLabors.ImageSharp.Web 2.0.2 supports:

    thanks

  • Dan 9 posts 90 karma points
    Jan 17, 2023 @ 21:57
    Dan
    0

    Hey Rider,

    I'm experiencing this exact same issue, when trying to build and deploy through Azure DevOps pipelines. Did you ever find a solution?

    Cheers, Dan

  • Ruder Partap Singh 28 posts 142 karma points
    Jan 25, 2023 @ 13:46
    Ruder Partap Singh
    0

    Hi Dan

    i was using wrong dotnet template to build the dotnet core project. just use the asp.net core to build your code

  • CraigFerguson 8 posts 98 karma points
    May 03, 2023 @ 11:34
    CraigFerguson
    0

    I found that this problem was caused by the NuGet version. I had to manually specify a version in my YML file before I tried to restore the packages:

    steps:
    - task: NuGetToolInstaller@1
      displayName: 'Install NuGet >=6.3.0-0'
      inputs:
        versionSpec: '>=6.3.0-0'
        checkLatest: true
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies