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.

Lots of errors when opening aspnet/SignalR

See original GitHub issue

I’m running on OSX.

I didn’t want to open an uber issue but it seems like there are multiple things happening here. The repro steps are to clone https://github.com/aspnet/SignalR and run build.sh. After the build finishes, open vs code at the root (code .).

  1. I get warnings telling me there are unresolved dependencies even though restore ran.
  2. I get 100s of errors talking about ambiguous references. It seems as though the sample projects don’t see the src projects within the same solution so packages are being resolved…

image

I’ll try to pick it apart into specific issues but I was caught by surprise because I thought things would just work.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DustinCampbellcommented, Apr 6, 2017

Nah, it wasn’t about SDKs. Project references were getting added twice due to some code that got lost in a refactoring a few months ago: https://github.com/OmniSharp/omnisharp-roslyn/commit/ef4b3838d39666ed5ca9780ea133bfdc08ff5844.

I’ve got a fix that should make SignalR work nicely for you.

0reactions
DustinCampbellcommented, Apr 6, 2017

If you don’t want to wait for a C# for VS Code update (which’ll be a little while yet), you can build the latest omnisharp-roslyn dev branch and set the following settings in VS Code:

  • "omnisharp.path" : “<path-to-the-net46-OmniSharp.exe>”
  • "omnisharp.useMono" : true

Build instructions are here

Read more comments on GitHub >

github_iconTop Results From Across the Web

SignalR Troubleshooting
This article describes some common issues with developing SignalR applications.
Read more >
Facing connection issues with ASP.NET SignalR
Facing connection issues with ASP.NET SignalR ... I'm getting the following two errors at the end of the SignalR client (ASP.NET):. System.
Read more >
SignalR errors in browser console every 30 seconds #11451
ASP.NET Zero Version: 11.0.1 .NET 6 / Angular UI I'm getting continual SignalR errors in the browser console - this happens both deployed...
Read more >
Internal Server Error (500) — How do I debug it? : r/csharp
ASPNET.SignalR.Client library with UWP and the code below, I'm getting the exception in the title. var username = InitializeNickname(); Messages ...
Read more >
Build Real-time Applications with ASP.NET Core SignalR
A lot is demanded from Web applications today. Web apps are expected not only to function properly, but they need to do so...
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