Just as an FYI, please switch over to using us...@ironpython.groups.io. To answer your question, AddReference uses LoadAssemblyByName and LoadAssemblyWithPartialName, so the same rules apply as what the normal .NET framework requires. If you want to use some other extension, you would need to use clr.AddReferenceToFile instead.
On Thu, Jun 22, 2017 at 10:56 AM Chris Knaack <chris40kna...@gmail.com> wrote: > I have a Windows application that uses IronPython. The scripts are > distributed with plugin/user projects that can be opened in the > application. > > Projects have data, configuration, and these scripts to separate the > business logic of the project from the core application. > > It works really nice except when users share these packages, the compiled > scripts(dlls) always get marked as blocked when passed your an email server. > > My question is, does the extension have to be dll such that > clr.AddReference('scriptname') works? > > Thanks for any ideas. > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > https://mail.python.org/mailman/listinfo/ironpython-users >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users