
Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Hi Jay,
>
[quoted text clipped - 5 lines]
> Also, maybe the VSIP SDK or VS 2005 SDK provides a service to do that, but I
> am not familiar with this yet.
Hmm, actually, the EnvDTE.ProjectItem class has a public Remove() method
and calling this method removes the item from the project. I don't know
how I missed it because it's pretty obvious. Is this method new to
VS2005? I was working in VS2003. Maybe it wasn't in VS2003's
definition of the EnvDTE.ProjectItem class.
Jay
Dustin Campbell - 30 Jan 2006 02:36 GMT
> Hmm, actually, the EnvDTE.ProjectItem class has a public Remove()
> method and calling this method removes the item from the project. I
> don't know how I missed it because it's pretty obvious. Is this
> method new to VS2005? I was working in VS2003. Maybe it wasn't in
> VS2003's definition of the EnvDTE.ProjectItem class.
Bringing up the Visual Studio 2003 help reveals that EnvDTE.ProjectItem.Remove()
does exist in 2003.
-----
Best Regards,
Dustin Campbell
Developer Express In
Carlos J. Quintero [VB MVP] - 01 Feb 2006 09:13 GMT
Hi Jay,
You are right, I'm sorry, I totally missed that method, maybe because I was
expecting a "Exclude" method, not a "Remove" method.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Hmm, actually, the EnvDTE.ProjectItem class has a public Remove() method
> and calling this method removes the item from the project. I don't know
[quoted text clipped - 3 lines]
>
> Jay