This project has moved. For the latest updates, please go here.


"Unused DataSets Report" not showing up in Context menu on VS2005 if Solution Folders used


In a VS2005 project with solution folders the "Unused Datasets Report" and the "Used Datasets Report" do not show up in the context menu on projects or the solution.
In a private build of mine I found that BIDS helper class UnusedDatasetsPlugin tries to cast the object under inspection to "Project", while it actually is "ProjectItem" where the project itself is in the "ProjectItem.SubProject" member.
I have attached a private fix of the class UnusedDatasetsPlugin.cs where the context menu shows up.
However, ths fix does not include the solution node, where the code would have to recursively traverse the solution folder hierarchy to discover all the projects in all leaves of the solution folder tree.

file attachments

Closed Jun 19, 2011 at 12:37 AM by furmangg
will be in the next release after 1.5still need to check other BIDS Helper features for this problem


furmangg wrote Jun 19, 2011 at 12:35 AM

thank you so much for finding this bug and even writing the code to fix it!

I was able to duplicate the problem you were having with the following steps. Right click on the solution node and choose Add... New Solution Folder. Then drag the project with reports into that solution folder. So the hierarchy now looks like:
Solution > Solution Folder > Project

Is that exactly what your solution looks like? (If yours looks different, please describe so I can repro what you're seeing and check other BIDS Helper features.)

Thanks so much. I just checked in your fix.

wrote Jun 19, 2011 at 12:36 AM

wrote Jun 19, 2011 at 12:37 AM

wrote Feb 22, 2013 at 1:41 AM

wrote May 16, 2013 at 12:56 PM