VS 2010 mouse processor extension - not working

后端 未结 3 757
北海茫月
北海茫月 2021-01-19 02:26

I am experimenting with a Visual Studio 2010 extension, where I need to work with the events exposed by IMouseProcessor.

As far as I can tell from the docs, I should

3条回答
  •  悲&欢浪女
    2021-01-19 03:05

    Taken directly from this (not mine) site:

    Extending Visual Studio 2010 UML Designers – Part 1: Getting Started

    VSSDK Beta 2 Bug Workarounds

    Unfortunately there are a couple of bugs in the current VSSDK Beta 2 that we have to work around. I’ve been told they will be fixed in an update release but until then, let me take you through the project cleanup required to make this work:

    Step 1 – Tweak the .csproj file

    1. Right click on your project and choose "Unload Project".
    2. Right click again on your project and choose "Edit Yourprojectname.csproj"
    3. In the topmost property group, look for the XML tag . It will be set to false. Change it to true.
    4. Save the .csproj file and reload it into Visual Studio.

    Step 2 – Tweak the .vsixmanifest file

    1. Right click on the file "source.extension.vsixmanifest" and choose View Code
    2. At the bottom of the file in the section called add the following line. (Yes, those vertical bars are important.)

      |Yourprojectname|

    3. Save and close the file.

提交回复
热议问题