Pour obtenir une clé
d'essai remplissez le formulaire ci-dessous
Demandez des tariffs
Nouvelle licence
Renouvellement de licence
--Sélectionnez la devise--
USD
EUR
RUB
* En cliquant sur ce bouton, vous acceptez notre politique de confidentialité

Free PVS-Studio license for Microsoft MVP specialists
To get the licence for your open-source project, please fill out this form
** En cliquant sur ce bouton, vous acceptez notre politique de confidentialité.

I am interested to try it on the platforms:
** En cliquant sur ce bouton, vous acceptez notre politique de confidentialité.

Votre message a été envoyé.

Nous vous répondrons à


Si vous n'avez toujours pas reçu de réponse, vérifiez votre dossier
Spam/Junk et cliquez sur le bouton "Not Spam".
De cette façon, vous ne manquerez la réponse de notre équipe.

>
>
Visual Studio 2012 and macros

Visual Studio 2012 and macros

31 Oct 2012
Author:

The new version of the Visual Studio 2012 development environment doesn't support creation of simple automation macros anymore. Microsoft was planning to abandon macros in their IDE long ago, having made the first attempt to do so in the early beta version of Visual Studio 2010, but they had to bring back the macros support in the final version under the pressure of the discontented users.

Microsoft actually stopped developing the macros system in Visual Studio long ago, which becomes apparent once you open the embedded Macro IDE. Moreover, you still can create macros only in Visual Basic, while other .NET languages have never got any support. At the same time, according to the usage statistics, just a bit less than 1% of all the Visual Studio users regularly use macros (at least, if we can believe the statistics by Microsoft), while the disproportion between their usage and costs on supporting the backward compatibility of macros grows even bigger with each new IDE version. According to the MSVS developers on the official MSDN forums, Microsoft will start investing these resources into support of other, more full-fledged, automation methods and environment extensions available in Visual Studio, beginning with the Visual Studio 2012 version. These extensions, in particular, include the extension modules Add-In and Extension Package. These types of IDE extensions will allow programmers to interact with the development environment at a much deeper level compared to macros, while they will still be able to use the EnvDTE automation model which serves as a basis for all those Visual Studio macros. It means that the full functionality of these macros of yours will be available in extensions as well.

Since Visual Studio extensions are in fact independent dll libraries, it may seem at first that using them instead of usually disposable macros is not practical. Actually, creating extensions of this kind is nowadays simple and transparent as never before, regardless of your previous experience of working with Visual Studio (this will be true, of course, if only we expect the complexity of these extensions' functionality to be comparable with that of macros). You can easily try to create your own extension starting with simple steps described in this article. This guide will allow you to create a completely functional managed extension module for all the Visual Studio versions literally within 10 minutes and start using your functional at once, while the rest articles of this series will help you find out the particular details.

Comments (0)

Next comments
Unicorn with delicious cookie
Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter