How to access source file name and rename it using DTE RRS feed

  • Question

  • the lowest level I can get using DTE is the projectitem which represent the each folder in a project such as inclued file, source file, how can I get to single source file in the source file folder? I try projectitem.item(index).get_Filename(index), it give me nothing, I when through all the index.  
    Wednesday, August 7, 2013 8:33 PM


  • Thank you it works, since there is more folder I have to do projectItem twice 

    The get_fileName did not work for me.

    this is what work for me:

    DTE.Solution.Item(x).ProjectItems.Item(y). ProjectItems.Item(z).Name

    • Edited by Mega512 Thursday, August 8, 2013 4:06 PM
    • Marked as answer by Sophia Gou - MSFT Friday, August 9, 2013 12:39 AM
    Thursday, August 8, 2013 3:31 PM

All replies