Missing Macros In Visual Studio 2012? Convert Them To AddIns.
Join the DZone community and get the full member experience.Join For Free
Visual Studio 2012 is really faster than 2010, this is due to an excellent work of the team to maximize performance and because in this release some of the older and less used part of the IDE were removed. One of this part is the Macro editor that is not anymore available in Visual Studio. This is one of the feature I missed most because I’ve used it in the past to automate some basic task, like attach to IIS automatically with a keyboard shortcut. The Macro engine had some limitation, it supported only Visual Basic, it was old code that needs time to be maintained and finally everything you can do with a Macro can be done with Visual Studio Plugin so there was no need to maintain anymore in the product.
I've seen a few comments recently about macros not being in VS2012 and while they've not be in the Beta's or RC's either, RTM brings with it a whole new crowd who are just discovering this now.
If you relied on marco's there's a couple things you can do. Ricci's approach above is one (and one the I think, in the end, might be best, in that it provides easier reuse, more power, etc.) and John Robbins NuGet/PowerShell approach.
Opinions expressed by DZone contributors are their own.