Search code examples
c#nugetdialogflow-es.net-4.6

Google Dialogflow does not install for .net v4.6 from nuget


I am trying to install Google DialogFlow from nuget in .net v4.6. But it does not install. And I have to use .net v4.6 coz I have an integration with workflow foundation.

Severity Code Description Project File Line Suppression State Error Could not install package 'Google.Cloud.Dialogflow.V2 3.0.0'. You are trying to install this package into a project that targets '.NETFramework, Version=v4.6', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

What fixes can I try?


Solution

  • As mentioned by @kanlis_, for .NETFramework 4.6.1 use the Google DialogFlow package version 3.8.0 as mentioned here.