Reputation: 15
I am trying to use Microsoft.Azure.ServiceBus package in my application which is targeting .NET framework 4.6.2, the application is deployed in service fabric(SDK - 4.2.477 & Runtime -7.2.477).
I am getting below error while building the application
Package Microsoft.Azure.ServiceBus 5.1.3 is not compatible with net462 (.NETFramework,Version=v4.6.2). Package Microsoft.Azure.ServiceBus 5.1.3 supports: netstandard2.0 (.NETStandard,Version=v2.0).
One or more packages are incompatible with .NETFramework,Version=v4.6.2.
Package Microsoft.Azure.ServiceBus 5.1.3 is not compatible with net462 (.NETFramework,Version=v4.6.2) / win7-x64. Package Microsoft.Azure.ServiceBus 5.1.3 supports: netstandard2.0 (.NETStandard,Version=v2.0)
One or more packages are incompatible with .NETFramework,Version=v4.6.2 (win7-x64).
Note : I have installed all the dependent packages of Microsoft.Azure.ServiceBus
Am i missing anything here?
Upvotes: 0
Views: 605
Reputation: 1743
.Net Framework compatible for Microsoft.Azure.ServiceBus 5.1.3 is .NETStandard 2.0
Try to update your .Net framework to 2.0 version.
Upvotes: 1