📜 ⬆️ ⬇️

Import Macros in Visual Studio 2012

Microsoft finally got rid of macros in Visual Studio 2012. An attempt was made in VS 2010 beta, but under the pressure of outraged users, macros returned to release. In VS 2012 they disappeared completely. I think Microsoft had good reasons for this, but for users who are not indifferent to this topic, this caused the opposite emotions from delight. The ability to put some kind of macro on the fly (quite often one-time), without resorting to creating an extension, was very valuable. And for those who, during the past studios, wrote a lot of useful macros for themselves, the transition to VisualStudio 2012 is quite problematic.

Task : transfer files with macros to AddIn to enable their use in VS 2012 both with hot keys and in the menu.

As a result of solving the problem, a project template appeared, in which it is enough to add files with your macros, compile and copy to the My Documents \ VisualStudio 2012 \ AddIns folder.

Download the project - Dropbox .
')

Module transfer



Basic settings. Module " g.vb "



Final stage



Notes




PS: I will be glad to constructive criticism and suggestions.

Source: https://habr.com/ru/post/152455/


All Articles