NRefactory-Completion-Sample icon indicating copy to clipboard operation
NRefactory-Completion-Sample copied to clipboard

Referencing Assemblies

Open samgregson opened this issue 9 years ago • 3 comments

I'm guessing the "ScriptProvider" in "ICSharpCode.CodeCompletion.Sample" is supposed to allow the addition of assemblies however I can't seem to get this to work. Is this something anyone else has problems with or is it just me?

samgregson avatar Apr 21 '15 17:04 samgregson

I have had issues with this too. I believe Luke has come back to me on a closed issue. Have a look through the closed issues. I am just starting to get back into this code so will report back if I find anything...

Camuvingian avatar Jun 02 '15 13:06 Camuvingian

You need to make sure the assembly is referenced in the ICSharpCode.CodeCompletion project. Then, in CSharpCompletion.cs, you need to add the assembly to the assemblies List (line 25: var assemblies = new List<Assembly>) in the constructor.

gilgame avatar Nov 12 '15 16:11 gilgame

Hmm, I have to look into this myself, by now the way adding of assemblies is handled has diverged quite a bit in CShell where I'm most up to speed!

lukebuehler avatar Dec 01 '15 16:12 lukebuehler