title: How to get a .Net Framework SignalR client to connect to .Net Core SignalR Server?
body: <p>This is basically a copy of this question but the repository has been archived so I can't ask it there:
  <a href="https://github.com/aspnet/SignalR/issues/1645" rel="noreferrer">https://github.com/aspnet/SignalR/issues/1645</a></p>
  <p>I am trying to get an older application running .NET Framework to connect to a newer application running .NET Core using SignalR.
  I've read some posts that say that the AspNetCore &amp; AspNet versions of SignalR are incompatible, so the goal is to get a <strong>Microsoft.AspNetCore.SignalR.Client</strong> running on the .NET Framework application.</p>
  <p>I've made a test project using framework version 4.6.1, which I believe is .NET Standard 2.0 so I should be able to install this package <a href="https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR.Client/1.0.0-preview1-final" rel="noreferrer">https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR.Client/1.0.0-preview1-final</a> according to a comment by davidfowl
  I'm unable to install this package on my 4.6.1 project so I must be doing something wrong.</p>
  <p>I also tried another workaround which was creating a netstandard2.0 library using the <strong>Microsoft.AspNetCore.SignalR.Client v3.1.6</strong> code, and then referencing the .dll from my 4.6.1 project.</p>
  <p>The 3.1.6 code in my netstandard2.0 library looks like this:</p>
  <pre><code>using Microsoft.AspNetCore.SignalR.Client;
  using Microsoft.AspNetCore.SignalR;
  using System;
  using System.Collections.Concurrent;
  public class SignalRConnection
  {       
      private readonly HubConnection hubConnection;
  
      public SignalRConnection(string endpoint)
      {
          this.endpoint = endpoint;
          hubConnection = new HubConnectionBuilder()
           .WithUrl(endpoint)
           .Build();
      }
  }
  </code></pre>
  <p>I've referenced this by going to references in my 4.6.1 project, right clicking and pressing add reference and selecting my netstandard2.0 project.
  The 4.6.1 code that I am calling this with is:</p>
  <pre><code>class Program
  {
     static void Main(string[] args)
     {
        SignalRConnection connection = new SignalRConnection(&quot;http://localhost:8080/status&quot;);
     }
  }
  </code></pre>
  <p>I thought this might be because I'm not using 1.0.0, so I also tried with that version. I get the same exception FileNotFoundException but for each different version.</p>
  <pre><code> System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.AspNetCore.SignalR.Client.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.'
  </code></pre>
  <p><a href="https://i.stack.imgur.com/v1TPm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/v1TPm.png" alt="Cannot load Microsoft.AspNetCore.SignalR.Client.Core" /></a></p>
  <p>Has anyone had any luck connecting a .NET Framework app to a .NET Core app using SignalR and could give me some pointers on where I've went wrong? Thank you</p>
  <p>Edit:</p>
  <p><a href="https://i.stack.imgur.com/Kr2Zv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Kr2Zv.png" alt="Nuget SignalR error" /></a></p>
  <p>I was able to get this to install in a 4.6.1 project using VS 2019, but when I tried to install it into a 4.6.1 project in VS 2015 it gave me the above error</p>