Automated deployment of mixed SSIS / DLL solution -


We are currently a developed solution using SSIS / C #. The SSIS package (among other things) has a script function that uses logic developed in class libraries. This functionality needs to be different from the SSIS package.

Because we are using an SSIS package, I understand that the requirement of compiled DLL is to be deployed in GAC, and then referred to by script work. However this is creating a deployment problem for us.

Our automated deployment tool (properly) automatically increases version number of DLL, which is then published on GAC. Although it breaks the SSIS package, because it will try to use DLL based on the number of the version and will be published as the development machine GAC.

The only solution we have is to modify the compiled DLL, Mannese SSIS package script work and then publish the package.

It seems that there should be a better way of doing this - does anyone face this problem and come up with a better solution? Or is there something fundamental in our approach that we need to change (beyond removing the requirement of DLL)?

Thank you!

Good, after a lot of research I never really came to this with a satisfactory solution. Finally, I could get the closest solution, where I dynamically loaded my references:

  dim rsAssembly assembly = as assembly. Load file ("path from config file") type rsType type = rsAssembly gate type ("name of class from config file") dim object object = activator.ct instance (rstip)  

The object is allowed to be created (although it is worth noting that any dependent references should also be dynamically loaded or part of GAC, though not least depending on the version number).

Here was posted here for future seekers, but if someone comes up with something better then I'm still very curious to know how you solved it - Post it here And I will credit you with an answer :)


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -