CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    1

    Post Adding files to VS2005 Solution Explorer

    Hi,
    Programatically i want add files to the solution explorer.
    Say for a particular project when opened in VS2005, the list of files are displayed in the solution explorer. At the end of the files i want to add some custom files programatically.

    Can any one help me out on this..


    Thanks a ton in advance

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Adding files to VS2005 Solution Explorer

    Do you realy want to add files to solution, or do you mean a project? But it shouldn't matter.
    You can do it directly in VS. Look at DTE (I am not now sure if it is class or what). Or you load the .project file just a file - it is pure XML, and edit. I think this is valid for VS2005 .sln files too. Just create a solution, do manualy what you want and look into the files what was added. Then repeat it programaticaly.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured