DLL Dependencies

Fri 9. Jun 2017, 00:58

When I run my plugins, it appears I need to have any dependent assemblies in the articy installation folder, instead of the plugin folder.

For example, I got the autocomplete control from the microsoft WPF toolkit so I needed to include a reference to DotNetProjects.Input.Toolkit.dll. This gets output with my plugin, but having it exist next to my plugin's DLL / manifest is insufficient. It needs to be a sibling of ArticyDraft.exe for the plugin to load properly.

Is this expected behavior, and if so is there any way I can make articy look in another folder for DLLs?
doday
 
Posts: 29
Joined: Wed 15. Mar 2017, 23:06

Re: DLL Dependencies

Mon 12. Jun 2017, 12:18

Hi,

I have tried to reproduce this unintended behavior.

And can confirm that it arises if any access to a class in a dependent assembly comes from a static class member in the plugin or from an access in the "Initialized" method.

Using the current 3.1.1 versions fixes that shortcoming.
User avatar
[Articy] Peter Sabath
Articy Staff
Articy Staff
 
Posts: 89
Joined: Wed 23. Nov 2011, 13:58
Location: Bochum

Re: DLL Dependencies

Mon 12. Jun 2017, 17:55

Thanks for the rapid fix.
doday
 
Posts: 29
Joined: Wed 15. Mar 2017, 23:06

Re: DLL Dependencies

Mon 12. Jun 2017, 21:19

Actually this update seems to have the same behavior. If I do not put DLLs next to the articy executable, some code that runs on ProjectLoaded fails because it cannot locate the requisite assemblies.

I am now running Articy version 3.1.1.31657

Do I need to update my Macro Devkit version?
doday
 
Posts: 29
Joined: Wed 15. Mar 2017, 23:06

Re: DLL Dependencies

Fri 23. Jun 2017, 18:20

In case anyone else is running into this:

Via direct email correspondence we pinpointed the issue and improvements will be coming in future updates.
doday
 
Posts: 29
Joined: Wed 15. Mar 2017, 23:06

Re: DLL Dependencies

Thu 20. Jul 2017, 23:20

3.1.3 fixed this.
doday
 
Posts: 29
Joined: Wed 15. Mar 2017, 23:06

Return to articy:draft Macro Devkit

Who is online

Users browsing this forum: No registered users and 1 guest

Who We Are
Contact Us
Social Links