I'm developing an Add-In for Visual Studio. What I want to do is, whenever a
build is completed, I want to enumerate the files in the project, looking
for files with an extension (.rct, .rc, or .res) which are marked as
"Embedded Resource" then perform some commands on them. I tried enumerating
all the ProjectItems in each Project, but I only got those which would
participate in a compile (for exapmle all the .vb files)
How do I enumerate ALL the files in a project?
Any help is apprectiated
Thanks in advance
WALDO
Hi Waldo,
ProjectItems enumerate all files marked for inclusion in the project
("Include in Project", "Exclude from Project" context menu), it does not
matter their Build Action (Compiled, Embedded Resource, etc). I have just
verified to be sure. Are you sure that you are enumerating correctly
(recursively, etc.)?

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
> I'm developing an Add-In for Visual Studio. What I want to do is, whenever
> a build is completed, I want to enumerate the files in the project,
[quoted text clipped - 9 lines]
>
> WALDO
WALDO - 31 Oct 2005 15:25 GMT
Ah hah!. It didn't occur to me that there was a recursive element involved
in getting the items. I see now that it returned top-level folder items. My
resource files are in a folder called 'Resources' (naturally ;)) and my
source files are in the root folder of the project. I guess I have to
iterate over those as well. D'uh!
Thanks Carlos.
I knew it was something simple.
This is what happens when you try to program after getting blasted at a
Halloween party ;)
WALDO
> Hi Waldo,
>
[quoted text clipped - 17 lines]
>>
>> WALDO