Google.Apis.Authentication 1.5.0-beta runtime error - visual-studio-2012

while trying to create a windows phone app.
i want to use google calendar, and i just cant find out the way to install the framework.
am following the google example right in this link:
https://developers.google.com/google-apps/calendar/setup
i used the package manager console with the follow command
PM> Install-Package Google.Apis.Calendar.v3 -Pre
and runs all fine.
when i use this:
using Google.Apis.Authentication;
using Google.Apis.Authentication.OAuth2;
using Google.Apis.Calendar.v3;
using Google.Apis.Calendar.v3.Data;
i get a runtime error. on 0Auth2 that sais that the name space doesnt exit.
i try to use again the package manager console with the follow code:
PM> Install-Package Google.Apis.Authentication -Pre
and i get this message:
Install failed. Rolling back...
Install-Package : Could not install package 'Google.Apis.Authentication 1.5.0-beta'. You are trying to install this package into a project that targets
'Silverlight,Version=v4.0,Profile=WindowsPhone71', 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.
At line:1 char:1
+ Install-Package Google.Apis.Authentication -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

Related

Can't install umbraco using nuget "operation failed"

i'am new use umbraco cms after i try to install using nuget in visual studio 2012 i get this error
From nuget package
'Newtonsoft.Json' already has a dependency defined for 'Microsoft.CSharp'.
and this from nuget console
Install-Package : 'Newtonsoft.Json' already has a dependency defined for 'Microsoft.CSharp'.
At line:1 char:1
+ Install-Package UmbracoCms
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
how to solve this
I had this yesterday. You need to make sure your NuGet manager in Visual Studio is the latest version. On older versions, you'll get that error. Upgrading the NuGet manager fixed the error for me. See here for some more info: http://issues.umbraco.org/issue/U4-9848

CefSharp.Winforms nuget download issue

I want to use cefsharp in my windows application, so using Package Manager Console' I am trying to downloadCefSharp.Winforms` but I am facing issue while downloading
PM> Install-Package CefSharp.WinForms -Version 37.0.0
Attempting to resolve dependency 'CefSharp.Common (= 37.0.0)'.
The source at All [(Aggregate source)] is unreachable. Falling back to NuGet Local Cache at C:\Users\amoghs\AppData\Local\NuGet\Cache
Install-Package : Unable to find version '37.0.0' of package 'CefSharp.WinForms'.
At line:1 char:16
+ Install-Package <<<< CefSharp.WinForms -Version 37.0.0
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I have tried so many times, whats going wrong here?
I also tried from installing package manually..

Open Nuget Pkg on Local Disk

I'm trying to open NuGet packages of code used with the book Pro ASP MVC 5. As I need to work offline at times, I downloaded the packages to my PC disk. How can I open these packages in VS2013. I've tried to use the Package Manager Console -> Install-Package C:\ Wrox.ProMvc5.Views.AlbumList.1.0.0.0.nupkg (I move the package to the root of C:) Also tried enclosing string in quotes
I get this error:
install-package : Unable to find package 'C:\Wrox.ProMvc5.Views.AlbumList.1.0.0.0.nupkg'.
At line:1 char:2
+ install-package C:\Wrox.ProMvc5.Views.AlbumList.1.0.0.0.nupkg
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId :
NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
In case anyone else is interested: you have to go to the NuGet package manager "settings" and add a new "Package Sources". I.E. "C:\myNuGetFolder". Then back in the manager, you'll see this listed and by selecting it you'll see the packages for this book if you've placed them in that folder.

Install signed ServiceStack assemblies from Package Manager Console

I need ServiceStack signed assemblies to deploy them into GAC.
How can I install signed assemblies from Package Manager Console?
I tried this command but the package is not found:
PM> Install-Package ServiceStack.Signed
Install-Package : Unable to find package 'ServiceStack.Signed'.
At line:1 char:1
+ Install-Package ServiceStack.Signed
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
The Signed packages of ServiceStack are only available in v4, which at the moment is only available for evaluation on MyGet at these instructions, until v4-beta is released.
v4-beta is expected to be available on NuGet at the end of this month (Nov 2013).

add google analityc to metro app

i am try installed google analityc to windows microsoft visual studio 8 for metro app, but i have the problem, when install i have the problem at below
PM> Install-Package w8ga
Successfully installed 'w8ga 2.3'.
Directory '' is not empty. Skipping...
Successfully uninstalled 'w8ga 2.3'.
Install failed. Rolling back...
Install-Package : Failed to add reference to 'DT.GoogleAnalytics.Metro'.
At line:1 char:1
+ Install-Package w8ga
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
any body can help me
thanks
iwan
"w8ga 2.3" is targeted for "Windows Store App" and for other project templates, package manager throws error.
You might try with Visual Studio 2012 and Windows Store App to get it working.

Resources