You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was created here based on discussion from here. Please let me know if I need to move elsewhere as it is not related to the ML Model Builder.
I have a Class Library wrapper API that includes an unmanaged DLL (with DLLImports on functions) that must be located in the same directory as API and EXEs when using. How do you go about also referencing the unmanaged library within the notebook?
Also note I was not able to do this within the C# Interactive, as well.
Thanks.
The text was updated successfully, but these errors were encountered:
@jonsequitur thanks for reaching out. I agree, this probably should be in one of your mentioned repos, but added here based on the referenced discussion.
I started to setup some demo code, but for some reason now appears to work in C# Interactive. Completely confused now as I was getting a few errors like "reference not found" which is usually what happens when the unmanaged DLL is not within the folder as .NET API that is calling into.
As for the new Notebook Editor, I have not tried but guessing it should be the same as referencing APIs (e.g. #r ....dll) similar to C# Interactive.
I'm going to close for now. I'll reopen if I can duplicate. Thanks again.
The #r behavior in all of these cases is the same implementation but one potential reason for different behaviors could be the assembly resolver logic. If you see it happen again, check that the current working directory is the one you expect.
This issue was created here based on discussion from here. Please let me know if I need to move elsewhere as it is not related to the ML Model Builder.
I have a Class Library wrapper API that includes an unmanaged DLL (with DLLImports on functions) that must be located in the same directory as API and EXEs when using. How do you go about also referencing the unmanaged library within the notebook?
Also note I was not able to do this within the C# Interactive, as well.
Thanks.
The text was updated successfully, but these errors were encountered: