[英]what is the correct way of installing Google.Apis.Calendar.v3 using PowerShell
Using PowerShell v7.3.1, I am trying to install the Google.Apis.Calendar.v3 library, but I get this error.使用 PowerShell v7.3.1,我尝试安装 Google.Apis.Calendar.v3 库,但出现此错误。
As suggested I run Get-PackageSource按照建议我运行 Get-PackageSource
I have also installed .NET Framework 4.8.1我还安装了 .NET Framework 4.8.1
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.我还尝试了 Install-Module PowerShellGet -Force,它成功安装了模块,但是当我尝试 Install-Package Google.Apis.Calendar.v3 时,我遇到了同样的错误。
what is the correct way of installing Google.Apis.Calendar.v3 using PowerShell?使用 PowerShell 安装 Google.Apis.Calendar.v3 的正确方法是什么?
Google.Apis.Calendar.v3 is a Google package. Which is hosted on NuGet Google.Apis.Calendar.v3 是 Google package。它托管在NuGet
You don't appear to have NuGet set as a package source See: register-packagesource您似乎没有将 NuGet 设置为 package 源 请参阅: register-packagesource
register-PackageSource -Name MyNuGet -Location https://www.nuget.org/api/v2 -ProviderName NuGet
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.