D
D
dnv7772012-09-14 23:21:13
Macros
dnv777, 2012-09-14 23:21:13

VisualStudio. import macros in AddIn

VS.Net 2012 finally got rid of macros.
Therefore, in order to transfer from 2010 (and there are reasons to switch), I need to transfer my macros to AddIn or Extension

on the internet, there are a lot of examples of how to create a button in the Toolbar and bind an action, but I don’t need buttons,
I just need to cling through Tools\Environment\Keyboard your macros to hotkeys.
I tried to simply add in the created AddIn in the Connect class as in macros

Public Sub MyAction ()
...
End Sub

But they do not appear in Tools\Environment\Keyboard.

Help with a simple example of how to transfer macros to AddIn

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dnv777, 2012-09-27
@dnv777

solution published on Habré: Import macros in Visual Studio 2012

I
Iliapan, 2012-09-15
@Iliapan

I advise you to unsubscribe on the msdn forum, they quickly help with such questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question