1

Resolved

Excluded item shouldn't be returned from ProjectItems.Item

description

C# Project doesn't return excluded items from automation method Item. It just throw ArgumentException.

Steps to reproduce:

e.g You can start Package Manager Console and type:

$project = $dte.Solution.Projects.Item(1);
$project.ProjectItems.Item(EXCLUDED_ITEM);


EXCLUDED_ITEM being name of any excluded item in project root. Python tools will return it. C# won't