how to add existing item in solution explorer programtically.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shashi shekhar singh
    New Member
    • Aug 2009
    • 30

    how to add existing item in solution explorer programtically.

    Respected Sir,
    I would like to know that, Is it possible to add existing item like folders in the Visual Studio 2008 solution explorer using C# dynamically?
  • GaryTexmo
    Recognized Expert Top Contributor
    • Jul 2009
    • 1501

    #2
    The solution and project files are human readable XML. You should be able to read it into an XmlNode object and insert a new node with the information you want, then save the file.

    Comment

    • shashi shekhar singh
      New Member
      • Aug 2009
      • 30

      #3
      Originally posted by GaryTexmo
      The solution and project files are human readable XML. You should be able to read it into an XmlNode object and insert a new node with the information you want, then save the file.
      I am really new for this please give me some full description how to add existing folder in the Solution Explorer.I am using C# ,So please help me with c# example.

      Comment

      Working...