Unable to debug VSIX project

前端 未结 6 961
隐瞒了意图╮
隐瞒了意图╮ 2020-12-10 14:20

I\'m trying to develop my first visual studio extensions project, I have VS10 SDK installed and was able to create a new project and can build it fine, however when I attemp

6条回答
  •  生来不讨喜
    2020-12-10 15:08

    I have the same problem,And in visual studio 2019,the debug command run arguments is /rootsuffix Roslyn

    I try to update project and rebuild;but it not work. Luckly, I find another way to debug it. That is unitTest. In the newest solution which created by the vsix template; It contains the uniteTests project.

    In the testmethod,you can invoke VerifyCSharpc method to test Diagnostic,and invoke VerifyCSharpFix method to test Fix; when you debug the unitTest ,you can hit the right breakpoint

提交回复
热议问题