How to do it...

  1. Open the SSISCustomization.sln solution that you created in the Designing a custom transformation recipe, earlier in this chapter.
  2. In the SSISCustomComponents project, locate the ValidateEmail.cs file, and open it in the designer.
  3. Modify the DtsPipelineComponent attribute of the ValidateEmail class, and add the CurrentVersion property, as shown in the following example:
[DtsPipelineComponent 
    ( 
    ComponentType = ComponentType.Transform, 
    DisplayName = "Validate Email", 
    Description = "Validates email addresses using the corresponding rule in a data profile file.", 
    NoEditor = false, 
    CurrentVersion = 2 
    )] 

Do not forget the comma after the NoEditor property declaration! When the CurrentVersion property is set, SSDT at design time ...

Get SQL Server 2017 Integration Services Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.