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
Post a Comment