Is there a version-specific compilation symbol when SSIS compiles script components? -


i have packages use script components data source. of them override primeoutput method microsoft.sqlserver.dts.pipeline.scriptcomponent class. in 2008, method has 3 parameters, starting in 2012, has 4 parameters.

these packages executing under ssis 2008, moved ssis 2014. need open these packages , fix issue, ahead of time , still able deploy ssis 2008, have them work under 2014 when new environment ready without having make additional changes when moving between environments.

if differentiate between environments @ compile time, can around problem, mean need use preprocessor directives. know can define them in script component's project file, i'd work in ssis 2008 , ssis 2012 without having make changes .dtsx file.

does know if various versions of ssis define version-specific directives when compiling script components?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -