Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Add icon into a SSIS Custom Task

Let, we have already created an SSIS custom task named HelloWorldTask. now we like to add an icon.
see my post to create the HelloWorldTask... also you can download my ready solution of this task.

now, follow the below steps to add an icon to Custom Task...

  1. Icon file should be as .ico extension - in my case, the file name is "Hello.ico"
  2. Modify the solution
  3. Build and re/install the task
now the details ... (see image also)
  1. File name is "Hello.ico".
  2. Modify the solution (see image "Add Icon to the Solution")
  • add the icon file in the solution 
    • right click on Solution Name in Solution Explorer
    • click on Add
    • click on "Existing Item..."
    • choose the icon file "Hello.ico"
  • go to Icon's property and set the "Build Action" as "Embedded Resource"
    • right click on the icon item
    • click property
  • add the icon name to the DtsTask property named "IconResource"
    • IconResource="namespaceName.IconNameWithExtension"
      • my case - IconResource="Blog_Test_Task.Hello.ico"
  • Re/build the solution
    • Now re/install the Task

    Add Icon to the Solution

    Icon Added



    This post first appeared on Nothing Is Bug Free, please read the originial post: here

    Share the post

    Add icon into a SSIS Custom Task

    ×

    Subscribe to Nothing Is Bug Free

    Get updates delivered right to your inbox!

    Thank you for your subscription

    ×