Friday, March 9, 2012

Programmatically extending the project tree

Hi,

I need to write an add-in, that when installed it will add a virtual folder to the project tree (in which I can later add other stuff).

The problem is even more complicated since the project I want to extend is an SSIS project (SQL Server Integration Services), and it doesn't let you customize the project structure even from the project explorer itself (can't add folders).

I appreciate any help on this.

Thanks.

You can't add new folders to SSIS project, neither from UI nor programmatically. We automatically assign file to one of the predefined folders (based on file extention - you may notice file may move when you rename it).

If you describe what are your goals, we will consider this for future version.|||

Thank you.

I am writing an add-in to automate certain activities in SSIS. each such activity has its own definition, and you can have multiple activities in a certain SSIS project.

I thought the best way to do it would be to add my folder to the project tree, and list there the already defined activities, as well as allowing the creation of new activities.

each activity creates multiple SSIS packages, and also does some work outside the scope of SSIS.

I would love to hear if you have any other ideas solving this issue.

Thanks.

|||I would create a new tool window, which presents a different view of SSIS project - with activities and other custom stuff, and appropriate operations. This would be similar to e.g. Class View vs. Project View in C# or VB.NET projects.|||

Thanks.

Can you send me any reference or technical guide on how to do this?

|||

Michael,

I am working with Noa on the same project.

I am trying to do this differently than what you suggested. I added a new entry to the Project context menu (right click on the project) and I am trying to activate my addin from there. the problem is that this entry appears now for all project types and not only for SSIS!! Is there a better way to do this? maybe add the entry to another context menu? Or is there any indication that can tell me programmatically that I am dealing with a SSIS project, so I can disable it for other projects?

Thanks,

Sami.

No comments:

Post a Comment