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

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?

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

Related

Webdriver Driver Mananger 2.7.0 not getting installed from Nuget with .Net framework 4.5

I want to use WebDriverManager in my code when I am trying to install the reference from the Nuget Package Manager I get an error.
I have tried updating and degrading the .Net framework.
Can we use WebDriverManager 2.7.0 with .Net framework 4.5?
Error Message seen is :
Could not install package 'WebDriverManager 2.7.0'. You are trying to install this package into a project that targets '.NETFramework, Version=v4.5', 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.
I know this post is old but I ran into the same issue today and was able to figure it out. You need to install version 2.2.7 instead. WebDriverMangaer version 2.2.8 and above require .Net Standard 2.0 which is only compatible with .NET Framework 4.6.1 and above.

Telerik UI for UWP NuGet install not working

I am trying to download the Telerik UI for UMP NuGet package using the NuGet Package Manager (I have also tried the console) and I get the following error:
Could not install package 'Telerik.UI.for.UniversalWindowsPlatform 1.0.1.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.1', 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.
I have tried changing my .NETFramework version to 4.6.1 as well but it did not work. Is there something I am missing here? It shouldn't be this hard to add a NuGet package, yet here I am... Thank you in advance!
Telerik.UI NuGet spec does not support .NET. It only supports Windows Universal.

MiniProfiler v4 dependency on .net standard

Trying to install MiniProfiler v4 (4.0.0) and get an error related to the following:
Install-Package : Could not install package 'Microsoft.Extensions.DependencyInjection.Abstractions 2.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.2', 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.
However on nuget, it only really mentions .net framework:
https://www.nuget.org/packages/MiniProfiler/4.0.0

Couldn't install package, project targets Framework without assembly references

When I try to install Firebase Messaging Nuget package on the solution it gives me this error -
"Could not install package 'Xamarin.Firebase.Messaging 42.1021.1'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', 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."
And for the android installation it says
"Could not install package 'Xamarin.Firebase.Messaging 42.1021.1'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.6,Profile=Profile44', 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."
How do I get it to install?
The solution is to use the latest stable Xamarin.Forms and have your project's compileSdkVersion (so Target Framework) set to 7.0 or higher. You will then be able to install newer versions of Android Support and therefore Google Play Services packages.
Happy coding!!

NuGet: Could not install package VVVV.EmguCV 2.4.2.1

I'm using Visual Studio 2013. I create a new project Windows Form Application (C#), with target framework in tab Application in Properties of the my project: .NET Framework 3.5.
When I open NuGet and search EmguCV and click install show this error:
Installing 'VVVV.EmguCV 2.4.2.1'.
Successfully installed 'VVVV.EmguCV 2.4.2.1'.
Adding 'VVVV.EmguCV 2.4.2.1' to RadarOCR.Desktop.
Uninstalling 'VVVV.EmguCV 2.4.2.1'.
Successfully uninstalled 'VVVV.EmguCV 2.4.2.1'.
Install failed. Rolling back...
Could not install package 'VVVV.EmguCV 2.4.2.1'. You are trying to install this package
into a project that targets '.NETFramework,Version=v3.5', 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.
I do not know what's wrong! Help-me please!
The error message tells you what the problem is:
You are trying to install this package
into a project that targets '.NETFramework,Version=v3.5', but the package does not contain
any assembly references or content files that are compatible with that framework.
The VVVV.EmguCV NuGet package does not support being installed into a project that targets .NET 3.5.
Looking inside the VVVV.EmguCV NuGet package it has custom MSBuild target files for .NET 4.0 and no other .NET framework version. So if you want to install it you would need to change your project so it targets .NET 4.0 or higher.

Categories

Resources