public void TestTriggers(ProjectItem item) { if (item == null) throw new ArgumentNullException("item"); // Only allow physical files which are part of a loaded project to test triggers ? or just dont allow Constants.vsProjectItemKindSolutionItems ? // Move this check to the Connect.Event ? should never do anything if the item saved is not a ProjectFile if (item.IsProjectFile()) TestTriggers(item.ContainingProject, item.FileNames[0]); }