question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error Restore package Abp.AspNetCore.SignalR

See original GitHub issue

I created an ASP.NET Core project using the template module zero, but when restoring the package it is displaying the following error:

Unable to find package Microsoft.AspNetCore.SignalR with version (> = 1.0.0-preview1-27891)
  - Found 3 version (s) in nuget.org [Nearest version: 1.0.0-alpha2-final]
  - Found 0 version (s) in Microsoft Visual Studio Offline Packages
At line: 1 char: 1
+ Install-Package Abp.AspNetCore.SignalR -Version 3.3.0-preview1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
    + CategoryInfo: NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId: NuGetCmdletUnhandledException, NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 
Install-Package: Package restore failed. Rolling back package changes for 'Test1.Web.Host'.
At line: 1 char: 1
+ Install-Package Abp.AspNetCore.SignalR -Version 3.3.0-preview1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
    + CategoryInfo: NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId: NuGetCmdletUnhandledException, NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

I went in the nuget and checked that the Install-Package package Abp.AspNetCore.SignalR references the Microsoft.AspNetCore.SignalR (> = 1.0.0-preview1-27891) version, which does not exist. The latest version available for this SignalR package is version 1.0.0-alpha2-final

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

12reactions
acjhcommented, Dec 26, 2017

Add this file to the same folder as your .sln file: NuGet.Config

0reactions
mohammad-shadmehrcommented, Feb 16, 2018

I have successfully added SignalR to my asp core solution (ASP Zero). For some reason the notification is not real time and I have to still refresh the page to get the notification bell jingling! All I have is a button on my Angular page which would call a service to publish a notification! in the same page where the button is I have defined a function to register to a notification: registerEvents(): void { abp.event.on('abp.notifications.received', function (userNotification) { alert(userNotification); }); } seems the following trigger within the abp.signalr-client.j is get fired at all: //Register to get notifications connection.on('getNotification', function (notification) { abp.event.trigger('abp.notifications.received', notification); });

thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to restore NuGet package - Microsoft.AspNetCore. ...
How to install SignalR via NuGet, Failed to add Microsoft.Web.Infrastructure? 1 · error in installing Package Microsoft.AspNet.SignalR · 0.
Read more >
signalR Package Installation Fails #4654 | Support Center
But when I am trying to install the nuget package using Package Manager, it fails. See the below error (The same is attached...
Read more >
The package Microsoft.AspNetCore.SignalR is deprecated. ...
The package Microsoft.AspNetCore.SignalR is deprecated. May I know the latest package for the same.I am panning to work with .Net 6.
Read more >
NuGet Warning NU1605
Solution. To the project exhibiting the restore warning, add a package reference to the higher version of the package.
Read more >
Abp.AspNetCore.SignalR 8.3.1
Version Downloads Last updated 8.3.1 317 7 days ago 8.3.0 92 7 days ago 8.2.0 8,725 3 months ago
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found