Installing Nuget Packages inside the MIP Plugin

Subject: Issues Setting Up SignalR Listener in Plugin

Hi,

I’m trying to set up a listener in my plugin to connect to a SignalR hub, but I’m running into issues during the plugin startup.

I’m encountering the following error: “System.IO.FileNotFoundException: 'Could not load file or assembly ‘Microsoft.AspNet.SignalR.Client, Version=2.3.0.0, Culture=neutral.’”

I’m not sure if this is a compatibility issue, but I would appreciate any advice on how to install NuGet packages within a MIP plugin.

Thank you!

I’m guessing that if you deploy the SignalR dll (or dlls, beware if there are dependencies that SignalR requires) together with the plugin dll it might work.

Download and unpack the SignalR NuGet (and dependencies), then deploy the plugin.def and plugin dll and all dlls from SignalR.