I was able to solve accessing the DLL directly in the GAC by more explicitly specifying it:
clr.AddReference("Utils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6c2b3719154e5544") But that did not fix intellisense. On Wed, Jul 8, 2015 at 11:33 AM George Nychis <gnyc...@gmail.com> wrote: > I am struggling to get Intellisense working with some DLLs that I have > built. I do not want the C# code to be included directly in the project, I > only want the functionality to be accessible through a pre-built DLL. > > First, I am able to run my IronPython code successfully linking to the > DLLs by adding where they exist to my search path and then using > clr.AddReference() > > However, using that method I cannot get Intellisense to work. So then I > did some searching and found multiple discussions around the DLLs needing > to be in the GAC for them to be accessible by Intellisense. > > Therefore I signed my DLLs (making them strong typed) and added them to > the GAC using gacutil.exe. I can verify this by listing the installed > modules: > > $ gacutil.exe -l | grep Utils > Utils, Version=1.0.0.0, Culture=neutral, > PublicKeyToken=6c2b3719154e5544, processorArchitecture=AMD64 > > Despite doing that, it is not accessible by the GAC. Additionally, I > assumed that I could now drop my search path and the modules would be found > using clr.AddReference() in the GAC instead. However, once I drop the > search path it does not work again. > > Could somebody point me in the right direction, here? I'm feeling lost. > > Thanks much! > > - George >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users