You are viewing limited content. For full access, please sign in.

Question

Question

Referencing external C# library in WF

asked on May 7, 2015 Show version history

This is a similar question to this one:

https://answers.laserfiche.com/questions/47958/C--Script-not-loading-external-references

I'm referencing some external .dll files in one of my workflow.

These .dll files has dependency on each other. Say a Storage.dll depending on Common.dll and IStorage.dll.

When I'm just using classes in Common(which only has dependency on .Net), everything seems to be fine. However, when I use Storage, it gives a run time error of 'Could not load file or assembly' for IStorage.dll.

My designer and workflow sever are on two different machines while I created two copy of .dll files under same path on both machine. So it should be resolved correctly. Also, I'm referencing everything I have in the script.

Any idea?

0 0

Replies

replied on May 8, 2015

Is IStorage a .Net assembly?

0 0
replied on May 8, 2015 Show version history

Yes. It's a .Net assembly. It contains all the interfaces of Storage

0 0
replied on May 11, 2015

Did you add it to the Custom Activities node in the Workflow Admin Console?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.