how to reference a dll in a wizard

  • 31 January 2008
  • 2 replies
  • 0 views

Badge

Hello,


I've built a few wizards as I had some server code Events I wanted to use in many Workflows.
The wizards themself work well and so do the Events code generated.


These Event codes uses a dll (myassembly.dll) that I've created and put in the GAC (on both developpement client and K2 server). It is necessary to reference this dll in the wizard otherwise I can't build it.
-> problem 1 : I can't reference the dll from the GAC. I've to browse a folder to reference it...
-> problem 2 : once I use my wizard in a workflow, it doesn't add the reference in my project. Once again I have to browse a folder...


Consequence : if I modify "myassembly.dll" then  I'll have to open each workflow project, reference the new dll and rebuild...


I really don't think that's the best way to do this... Can anyone help me ?


Many thanks !



 


2 replies

Badge +10

Hello,


 


I am not 100% this will help, but here is a link worth reading


http://k2underground.com/forums/post/19052.aspx


Also is the DLL Strongly typed

Badge +9

Actually, I'd recommend looking at this post: http://k2underground.com/forums/thread/20755.aspx


The previously referenced suggested was posted pre-SP1.  The method to reference an assembly in that post is no longer a supported way to reference a DLL post SP1.

Reply