0
naurinrr created
Hi,
I am setting up a build pipeline for continuous integration and deployment. I am getting the following errors in Nuget restore step.
`
2018-11-11T23:36:10.4801663Z ##[section]Starting: NuGet restore
D:\a\1\s\src\DemoDeploy.Application.Client\DemoDeploy.Application.Client.csproj
Package modernhttpclient 2.4.2 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package modernhttpclient 2.4.2 supports:
- monoandroid (MonoAndroid,Version=v0.0)
- monotouch (MonoTouch,Version=v0.0)
- portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
One or more packages are incompatible with .NETStandard,Version=v2.0.
Errors in D:\a\1\s\src\DemoDeploy.Core\DemoDeploy.Core.csproj
Package Abp.AutoMapper 3.9.0 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp.AutoMapper 3.9.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Abp.Zero.Ldap 3.9.0 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp.Zero.Ldap 3.9.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Project DemoDeploy.Core.Shared is not compatible with net461 (.NETFramework,Version=v4.6.1). Project DemoDeploy.Core.Shared supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.EnvironmentVariables 2.1.1 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Microsoft.Extensions.Configuration.EnvironmentVariables 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.Json 2.1.1 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Microsoft.Extensions.Configuration.Json 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Abp.ZeroCore.IdentityServer4.EntityFrameworkCore 3.9.0 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp.ZeroCore.IdentityServer4.EntityFrameworkCore 3.9.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Abp.MailKit 3.9.0 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp.MailKit 3.9.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Microsoft.Extensions.Configuration.UserSecrets 2.1.1 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Microsoft.Extensions.Configuration.UserSecrets 2.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Castle.Windsor.MsDependencyInjection 3.3.1 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Castle.Windsor.MsDependencyInjection 3.3.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Abp.ZeroCore 3.8.3 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp.ZeroCore 3.8.3 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Package Abp.Web.Common 3.8.3 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp.Web.Common 3.8.3 supports: netstandard2.0 (.NETStandard,Version=v2.0)
One or more projects are incompatible with .NETFramework,Version=v4.6.1.
One or more packages are incompatible with .NETFramework,Version=v4.6.1.
This is not the complete log. There are similar errors in all the projects. I could not fit the entire log in here. Please help!
1 Answer(s)
-
0
I saw that the ABP package versions in your project are inconsistent. You should make these package versions consistent.
Do you see if it is related to this issue? https://github.com/Microsoft/azure-pipelines-tasks/issues/5164