HI Jeremy.
Thanks for your suggestion to run Fuslog. I have tried that and all looks good. The dll it is loading is
Microsoft.AspNetCore.SignalR.Client
And it has loaded fine. I have attached it for reference.
Any other ideas at all?
Cheers
Phillip
*** Assembly Binder Log Entry (18/03/2022 @ 9:22:20 am) ***
The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable C:\Program Files\Autodesk\Revit 2022\Revit.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.AspNetCore.SignalR.Client, Version=3.1.20.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Autodesk/Revit 2022/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = Revit.exe
Calling assembly : SignalRCoretest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Program Files\Autodesk\Revit 2022\Revit.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.AspNetCore.SignalR.Client, Version=3.1.20.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Users/phill/source/repos/SignalRCoretest/SignalRCoretest/bin/Debug/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Users\phill\source\repos\SignalRCoretest\SignalRCoretest\bin\Debug\Microsoft.AspNetCore.SignalR.Client.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Microsoft.AspNetCore.SignalR.Client, Version=3.1.20.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
LOG: Where-ref bind Codebase does not match what is found in default context. Keep the result in LoadFrom context.
LOG: Binding succeeds. Returns assembly from C:\Users\phill\source\repos\SignalRCoretest\SignalRCoretest\bin\Debug\Microsoft.AspNetCore.SignalR.Client.dll.
LOG: Assembly is loaded in LoadFrom load context.
</pre></html><meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry (18/03/2022 @ 9:22:20 am) ***
The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable C:\Program Files\Autodesk\Revit 2022\Revit.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.AspNetCore.SignalR.Client, Version=3.1.20.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Autodesk/Revit 2022/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = Revit.exe
Calling assembly : SignalRCoretest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Program Files\Autodesk\Revit 2022\Revit.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.AspNetCore.SignalR.Client, Version=3.1.20.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/SDA/bin/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/CefSharp/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Autodesk/Revit 2022/Addins/RaasForRevit/Microsoft.AspNetCore.SignalR.Client/Microsoft.AspNetCore.SignalR.Client.EXE.
LOG: Attempting download of new URL file:///C:/Users/phill/source/repos/SignalRCoretest/SignalRCoretest/bin/Debug/Microsoft.AspNetCore.SignalR.Client.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Users\phill\source\repos\SignalRCoretest\SignalRCoretest\bin\Debug\Microsoft.AspNetCore.SignalR.Client.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Microsoft.AspNetCore.SignalR.Client, Version=3.1.20.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
LOG: Where-ref bind Codebase does not match what is found in default context. Keep the result in LoadFrom context.
LOG: Binding succeeds. Returns assembly from C:\Users\phill\source\repos\SignalRCoretest\SignalRCoretest\bin\Debug\Microsoft.AspNetCore.SignalR.Client.dll.
LOG: Assembly is loaded in LoadFrom load context.