Home > Mobile >  what is the correct way of installing Google.Apis.Calendar.v3 using PowerShell
what is the correct way of installing Google.Apis.Calendar.v3 using PowerShell

Time:01-16

Using PowerShell v7.3.1, I am trying to install the Google.Apis.Calendar.v3 library, but I get this error.

enter image description here

As suggested I run Get-PackageSource

enter image description here

I have also installed .NET Framework 4.8.1

enter image description here

I have also tried Install-Module PowerShellGet -Force, which successfully installed the module, but then when I try Install-Package Google.Apis.Calendar.v3 I get the same error.

what is the correct way of installing Google.Apis.Calendar.v3 using PowerShell?

CodePudding user response:

Google.Apis.Calendar.v3 is a Google package. Which is hosted on NuGet

You don't appear to have NuGet set as a package source See: register-packagesource

register-PackageSource -Name MyNuGet -Location https://www.nuget.org/api/v2 -ProviderName NuGet
  • Related