Michael Washington
Michael Washington

Reputation: 3075

Unable to find a version of 'Microsoft.Rest.ClientRuntime' that is compatible with 'Microsoft.Bot.Connector.DirectLine

When I try to install the Nuget package:

Microsoft.Bot.Connector.DirectLine

I get the following error:

Unable to find a version of 'Microsoft.Rest.ClientRuntime' that is compatible with 'Microsoft.Bot.Connector.DirectLine 1.0.2 constraint: Microsoft.Rest.ClientRuntime (>= 1.8.2 && < 2.0.0)'.

Upvotes: 1

Views: 1710

Answers (1)

Ezequiel Jadib
Ezequiel Jadib

Reputation: 14787

Based on your comments it seems you already have a the Microsoft.Rest.ClientRuntime assembly in your solution and that the version you have is higher than the one enforced by the DirectLine NuGet.

I cannot comment about your solution and why you are using Microsoft.Rest.ClientRuntime, but the first thing I would recommend is to remove the current Microsoft.Rest.ClientRuntime assembly (v 2.0.0), then install the DirectLine NuGet and then test your solution to check if the previous component that was using Microsoft.Rest.ClientRuntime can still works with a version < than 2.0.0

Upvotes: 1

Related Questions