Home > Software engineering >  Google reCaptcha Enterprise NugGet Package Installation Issue
Google reCaptcha Enterprise NugGet Package Installation Issue

Time:10-08

I'm trying to add reCaptcha Enterprise NuGet package "Google.Cloud.RecaptchaEnterprise.V1" for .net framework 4.5 but facing below issue. I tried to change the framework version and NuGet package version but no luck. Can anyone please suggest how it can be fixed. I found limited supporting material for reCaptcha Enterprise all where mostly are reCaptcha V3.

Could not install package 'Google.Cloud.RecaptchaEnterprise.V1 1.4.0'. 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.*

enter image description here

CodePudding user response:

As the same error message is saying, Google.Cloud.RecaptchaEnterprise.V1 is not compatible with .NET Framework 4.5. The following link has the compatible Google.Cloud.RecapltchaEnterprise’s version and release for .NET Framework 4.5 Release 1.55.0.2437:

In case it doesn’t work, that’s the task, look for the compatible release.

  • Related