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:
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
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
Hi Dan
i was using wrong dotnet template to build the dotnet core project. just use the asp.net core to build your code
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:
is working on a reply...