Unable to debug VSIX project

前端 未结 6 949
隐瞒了意图╮
隐瞒了意图╮ 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:00

    Accidentally found how to fix it in vs 2017 15.9.20

    Shortly: uninstall your extension in new VS, re-run new VS by F5, then clean and rebuild solution, then run by F5 again.

    When you re-run VS after uninstalling your extension, new VS "understands" that your extension was removed. After that you rebuild code and "put" it in new VS.

    Detaily:

    • run F5, in new VS go to Extensions and uninstall your extension
    • close new VS
    • in opened Uninstall VSIX window - uninstall your extension
    • do not change anything, just re-run the code by F5, check that extension is removed in new started VS, close new VS
    • in your coding VS - clean Solution
    • rebuild
    • run by F5, enjoy

提交回复
热议问题