Retrieve Selected folder path from EnvDTE
I have a Visual Studio extension project where I have implemented a custom OleMenuCommand
on the folder node 'IDM_VS_CTXT_FOLDERNODE'
(command displays when right clicking on the folder inside the Project). I want to get the selected folder path from the EnvDTE80.DTE2
object. I was able to get the folder name but couldn’t get the folder path. Here is the sample code.