Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Compiling Script Component in SSIS 2012 Programmatically

$
0
0

So I am trying to build a package programmatically for SSIS 2012 with a script component (not a script task.)

I borrowed the code from

http://blogs.msdn.com/b/jason_howell/archive/2013/03/05/script-component-recompile-in-sql-server-2012-integration-services-ssis-to-refresh-metadata.aspx

In an attempt to get the component to compile.

But .... the only way I can get it to actually add compiled code to the package is to still add a call to ScriptComponentHost.ShowIDE(), which as you can guess, briefly blips up a VS IDE.

So I was wondering if anyone else had had success with this method, or to see what I might be doing wrong. I would definitely prefer not to show the IDE to build the script components.

Ultimately I think I'm going to switch to a custom component but since this is for client installs I'm not fully prepared to go down that path just yet and wanted something in the interim.

Thanks!



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>