New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for disabling automatic kit loading in Core #642
Comments
The place for kits is actually in the other folder, namely Do you have a direct reference to the Objects kit inside your .NET Core server project? |
It's quite difficult to debug locally two applications at the same time :/ Could you dig in the exception and show us a bit more where it happens? (e.g. callstack)
This smells of dll hell, but not entirely sure. You could force the kit manager to initialise from a specific location during debugging, but unsure wether this would help. We could schedule a quick 15 min call if you want so we can click in that exception and figure out if there's any way around this - let us know by email! |
closing as there's no new updates :) |
Notes: this resurfaced again in the forum, and a solution/workaround is explained there: https://speckle.community/t/net-api-object-losing-its-viewmodel/2345/8 |
As per the discussion in the forum, it would be great if we had a way to disable automatic kit loading in Core. This is useful in contexts where |
Hey @barisbs! I'm closing this as stale but let us know if you still have this issue and we'll be happy to re-open it |
Hello everyone,
I have docker container of the speckle server running locally. For the test purposes, I had to install Revit connector also which installs converters and "Objects.dll" in the following path
%AppData%\Roaming\Speckle\Kits\Objects
There is another folder in same directory which contains also "Objects.dll"
AppData\Roaming\Speckle\Kits\Speckle.Objects
If I use .NET SDK in our .net core server, I get an System.IO.FileLoadException here
KitManager.cs line 169.
If I delete
%AppData%\Roaming\Speckle\Kits\Objects
, which is needed for Revit connector, it works.Actually the assembly should be loaded from
%AppData%\Roaming\Speckle\Kits\Speckle.Objects
, but in the method, all assemblies in%AppData%\Roaming\Speckle\Kits
folder and in its subfolders are loaded.The assembly versions are different.
Is there a way to use both Revit connector and .NET SDK at the same time?
Cheers
Baris
The text was updated successfully, but these errors were encountered: