CefSharp.Winforms nuget download issue - nuget-package

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..

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

Can't add Microsoft.Azure.Search 3.0.2 nuget package in VS2017

I load up a Visual Studio 2017 and create an empty ASP.NET Core console application. I go to manage nuget packages and "Install-Package Microsoft.Azure.Search" and get the following error:
Install-Package : One or more packages are incompatible with .NETCoreApp,Version=v1.0.
At line:1 char:1
+ Install-Package Microsoft.Azure.Search
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Package restore failed. Rolling back package changes for 'vs2017search'.
At line:1 char:1
+ Install-Package Microsoft.Azure.Search
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
No matter if I try this from .NET Core 1.1 or a NETStandard1.4, 1.5 or 1.6 project I get a similar error.
Adding this package in VS2015 works fine.
Interestingly if I create a ASP.NET Core Console application in VS2015, add the nuget package, upgrade to .NET Core 1.1 and then open it up in VS2017 and do a one way convert it seems to work.
Anyone else experiencing the same or similar and have a solution?

Install-Package : Unable to find package 'FeatureToggle.Core'

When trying to install FeatureToggle from Package Manager Console,
below eror is coming up.
This happening in VS 2012.
PM> Install-Package FeatureToggle.Core
Install-Package : Unable to find package 'FeatureToggle.Core'.
At line:1 char:1
+ Install-Package FeatureToggle.Core
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I was perfectly able to
Install-Package FeatureToggle
Make sure you have Chosen "All" from the Package Source Dropdown in the console.

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).

Google.Apis.Authentication 1.5.0-beta runtime error

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

Resources