Add a Folder to a project RRS feed

  • Question

  • I am trying to create a folder through IVsProject.AddItem method.

    The method documentation says I should pass VSADDITEMOP_OPENDIRECTORY.

    This enum does not exist in the SDK.


    How do I create a folder in Project? Thanks

    Monday, October 30, 2006 6:00 PM


  • Hi,

      That seems to be an error in our documentation. You should be able to add a folder using the EnvDTE.ProjectItems.AddFolder API.

    Hope that helps.


    Dr. eX

    Wednesday, November 22, 2006 8:34 PM