Let’s say that you are in the C# REPL editor and you want to manually add a dll to be taken into account by the code complete engine (useful in the 5.1 version of the O2 Platform which had a bug that prevents some references from loading)
For example, let say you added the O2_FluentSharp_NGit.dll reference:
And create a new instance of the API_NGit
But then, you notice that the git extension methods are missing (for example the .clone method)
(btw, the new 5.1 code complete filter results is quite useful in cases like this)
To fix this, lets get a C# REPL for the current C# REPL :)
which will popup up with a reference (in the script variable) to the main C# REPL object:
In there we can get the list of the currently loaded references:
or more specifically , the ones whose filenames contain the word FluentSharp
Next we load the missing reference:
Go back to the original C# REPL and confirm that it is now working:
Note: the screenshots have a weird top-banner color because I was running this on a Windows 8 Image