All articles say that SignalR can be installed from
Microsoft.AspNet.SignalR
nuget package.
But this package is not available through nuget interface in VisualStudio but only if you install from the console.
Install-Package Microsoft.AspNet.SignalR
Why?
Also it's not available here http://nuget.org/packages?q=signalr
Can you somebody explain what the right way to install SignalR?
SignalR is still pre release so you need to install it from the command line with the -pre option. From what I've heard it should be available in the next RTM update.
It is found here in the gallery: http://nuget.org/packages/microsoft.aspnet.signalr
Use Install-Package Microsoft.AspNet.SignalR -Pre to install from the console.
you can use the Manage Nuget packages UI in VS to install pre-release packages as well
http://docs.nuget.org/docs/release-notes/nuget-2.2 has instructions on how to do it as well
Related
I have been doing some testing between VS2015 and VS2017. I created a .NetFrameworkApp and a .NetCoreApp website in both systems. I then installed a couple of packages in all four websites; in particular EntitytFramework. It installed in both VS2015 websites and the VS2017 .NetFrameworkApp website without problem but it wouldn't install in the VS2017 .NETCoreApp website. I got the following error messages.
net45 (.NETFramework,Version=v4.5)
One or more packages are incompatible with .NETCoreApp,Version=v1.1.
Package restore failed. Rolling back package changes for 'RLSBCWebSite_NC'.
Time Elapsed: 00:00:01.4470850
Error Package restore failed. Rolling back package changes for 'RLSBCWebSite_NC'. 0
Anyone any idea why that should be. I am assuming it should install otherwise how would you use CodeFirst etc.
The "EntityFramework" package is not supported with .NET Core App, use the:
Microsoft.EntityFrameworkCore.SqlServer
package instead
I'm trying to add MVVM Light to an existing project through NuGet but I get this error message:
Attempting to resolve dependency 'MvvmLightLibs (≥ 4.2.30.0)'.
Attempting to resolve dependency 'CommonServiceLocator (≥ 1.2)'.
Successfully installed 'CommonServiceLocator 1.2'.
Successfully installed 'MvvmLightLibs 4.3.31.1'.
Successfully installed 'MvvmLight 4.2.30.0'.
Successfully uninstalled 'CommonServiceLocator 1.2'.
Install failed. Rolling back...
Could not install package 'CommonServiceLocator 1.2'. You are
trying to install this package into a project that targets
'.NETFramework,Version=v4.0,Profile=Client', but the package
does not contain any assembly references that are compatible
with that framework. For more information, contact the package
author.
I've tried retargeting my project to .NET framework 4.0, 4.0 client profile, and 4.5. Any ideas? I wasn't having this issue as recently as two weeks ago.
Had the same Problem today. Try to install the newest Version of Nuget in your Visual Studio Addins first !
I am able to install while targeting 4.5 and using Nuget for "MVVM Light Libraries only"
Does installing https://www.nuget.org/packages/CommonServiceLocator/1.2.0 first avoid the issue for you?
I had the same issue. Updated Visual Studio 2012 to Update 4, tried again and it worked perfectly. Good luck!
It sounds like your project is targeting .NET 4.0 while you are installing library witch are not compatible to the targeted version.
Please find appropriate version of library and install them
So I installed a local NuGet server using the NuGet.Server package and VS2012. Everything seems to work fine, I have a package that I created based on a web application. The server knows about the package (i.e. I can list it using "nuget list"), but when I try to install it on the target machine, I get an InvalidDataException with a message the the Archive file cannot be size 0.
I am using Win7 x86 and the command-line nuget.exe utility from within PowerShell. Nuget.exe is in \windows.
Also, I can install packages from the public nuget.org server on this target machine.
In an interesting twist, I am able to install the very same internal package from the very same internal server when I run the same command from within the Package Manager Console in VS2012. I have verified that the nuget.exe versions are the same.
Any help on this?
Thanks,
Matthew
Turns out there was an issue with the local Nuget cache. Once I cleared it out, the package installed correctly.
On multiple sources in internet i see that SignalR 0.5.3 is released, i even find the screenshot of NuGet Manager which has v 0.5.3 on it.
But in my Nuget manages there is only v 0.5.2 and here also latest is 0.5.2.
So, the question is where do i get the latest SignalR?
It seems like 0.5.3 is on the gallery, just hasn't been tagged as the newest release.
http://nuget.org/packages/SignalR/0.5.3
Try running this in the Package Manager Console:
Install-Package SignalR -Version 0.5.3
However, I suspect that 0.5.3 has been pulled because of a problem (?) since the official SignalR web site says 0.5.2 is the latest. It might also be that they are going to rename the NuGet package to Microsoft.AspNet.SignalR.
I have a "new" windows xp sp3 machine with VS2010 SP 1 and Nuget 1.8
Every time a try to add a Nuget Package a receive the following error:
The specified cryptographic algorithm is not supported on this platform.
Does anyone know what does that means?
There's a known issue with NuGet 1.8 : NuGet issue#2240. The Nuget team will soon (crossing fingers) release a hot fix.
In the meanwhile, I'd suggest installing NuGet 1.7.
EDIT: NuGet released the hotfix (1.8.30524.9000)