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...
- Icon file should be as .ico extension - in my case, the file name is "Hello.ico"
- Modify the solution
- Build and re/install the task
now the details ... (see image also)
- File name is "Hello.ico".
- 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
No comments:
Post a Comment