Skip to content

Commit 5fb966b

Browse files
committed
AutoSort fix for SQL2012/VS2012
1 parent 3f27684 commit 5fb966b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

SSIS/AutoSortProjectFilesPlugin.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@ private void SolutionOpened()
7777
return;
7878
}
7979

80-
var solution = solExplorer.UIHierarchyItems.Item(1).Object as SolutionClass;
81-
if (solution == null)
82-
{
83-
return;
84-
}
80+
// TODO: Try on other versions? Removed this test, as never succeeds on SQL2012 on VS2012
81+
//var solution = rootItem.Object as SolutionClass;
82+
//if (solution == null)
83+
//{
84+
// return;
85+
//}
8586

8687
ProcessHierarchyItem(rootItem);
8788
}

0 commit comments

Comments
 (0)