How to debug Visual Studio extensions

前端 未结 4 1093
余生分开走
余生分开走 2020-11-30 17:19

I\'m just writing a VSIX extension for Visual Studio 2010 and can\'t figure out how to debug it.

One obvious method is to output messages. Extension template uses

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 17:41

    The OutputWindowHelper.OutputString method writes to the 'General' output window pane (Ctrl Alt o). I added this line in my .csproj references to get this in VS 2013

    
    

    Also see this answer.

提交回复
热议问题