[Ironpython-users] struggling with Intellisense and GAC

George Nychis gnychis at gmail.com
Wed Jul 8 17:33:33 CEST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20150708/7c73f66d/attachment.html>


More information about the Ironpython-users mailing list