I am new in the stack overflow community. Right now I am learning c#(using visual studio 2012) and working on uploading files in a google drive.
I followed this tutorial http://www.daimto.com/google-drive-api-c-upload/ but sadly I have getting error when executing this command
Install-Package Google.Apis.Drive.v2
The source at All [(Aggregate source)] is unreachable. Falling back to NuGet Local Cache at C:\Users\Cyclone\AppData\Local\NuGet\Cache Install-Package : Unable to find package 'Google.Apis.Drive.v2'. At line:1 char:1 + Install-Package Google.Apis.Drive.v2 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I don't really know the problem and can't continue on my project. Could someone explain me how to solve this error or any work around in uploading files in a google drive.
Thank you and sorry for the bad English!
Maybe adding -Source nuget.org
to your command would fix this?
So try the command:
Install-Package Google.Apis.Drive.v2 -Source nuget.org
Or, you can also try http://www.nuget.org/api/v2
instead of nuget.org
If this works, you may have your Package Source misconfigured.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With