Get a list of Solution/Project Files for VS Add-in or DXCore Plugin

后端 未结 3 488
梦谈多话
梦谈多话 2020-12-05 08:31

I am trying to write a add-in for Visual Studio that, among other things, needs to keep track of every file in a Visual Studio solution. I know what events I need to subscri

3条回答
  •  既然无缘
    2020-12-05 08:55

    This is all available easily using DTE in the Visual Studio SDK.

    You can get a list of projects in a solution using the Projects interface.

    You can get a list of items in a project using the ProjectItem interface.

    For more information, I'd recommend reading up on Controlling Projects and Solutions.

提交回复
热议问题