0

When you right click a project in visual studio, there is an option "Open folder in File Explorer". How can the same be done from the automation model (EnvDTE) of visual studio? I thought I could use Project.FullName but that didn't work for our auto generated project files that have the .vcxproj file in a different folder than the actual .cpp files.

tcb
  • 4,408
  • 5
  • 34
  • 51

1 Answers1

1

You can use

Project.Properties.Item("FullPath").Value

to get the correct path.

flayn
  • 5,272
  • 4
  • 48
  • 69
  • This is useful information, but my auto-generated projects don't seem to be having this property. – tcb Sep 24 '14 at 15:13
  • @chakrapanibhat: Can you check what kind of properties are available for your project? – flayn Sep 25 '14 at 08:00