I’ve having trouble getting my plugin to work with Rhino 8. It’s mostly fine but getting an issue when I use the Azure.Storage.Blobs
assembly. This in turn needs Azure.Core
and from the debug output it’s loading the version in the Rhino 8/system/netcore
folder rather than the one packaged with the plugin. I have assembly redirects configured but I gather this won’t work in .NET core.
This is the error:
'Rhino.exe' (CoreCLR: clrhost): Loaded 'C:\Users\martin\source\repos\PluginConnect\PluginUpload\bin\Azure.Storage.Blobs.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Rhino.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\Rhino 8\System\netcore\Azure.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Rhino.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\x64\shared\Microsoft.NETCore.App\7.0.13\System.Threading.Tasks.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Rhino.exe' (CoreCLR: clrhost): Loaded 'C:\Users\martin\source\repos\PluginConnect\PluginUpload\bin\Azure.Storage.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.TypeLoadException' in Azure.Storage.Blobs.dll
Exception thrown: 'System.TypeLoadException' in System.Private.CoreLib.dll
Exception thrown: 'System.TypeLoadException' in System.Private.CoreLib.dll
Exception thrown: 'System.TypeLoadException' in System.Private.CoreLib.dll
An exception of type 'System.TypeLoadException' occurred in System.Private.CoreLib.dll but was not handled in user code
Could not load type 'Azure.Core.Pipeline.HttpPipelineOptions' from assembly 'Azure.Core, Version=1.6.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8'.
Version 1.6.0.0 is the one in the Rhino system folder. The version we compiled against is 1.35.0.
Am I missing something? Thanks