Is the Macro feature removed in Visual Studio 2022

BenTam-3003 686 Reputation points
2022-02-01T07:26:11.94+00:00

Dear All,

Is the Macro feature in Visual Studio 2019 removed (i.e., doesn't exist) in Visual Studio 2022?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,620 questions
{count} vote

Accepted answer
  1. Viorel 112.5K Reputation points
    2022-02-01T08:37:32.997+00:00

    It seems that VBA macros were removed in Visual Studio 2012 (https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#2012) . You can write extensions and Add-ins in C#.


2 additional answers

Sort by: Most helpful
  1. Bryan B 1 Reputation point
    2022-04-28T18:13:10.557+00:00

    As stated, the Macro features were removed back in 2012. There have been a variety of paid-for and free replacements (none as good as the original in my opinion). There is a Microsoft provided extension you can install up to 2019, but it doesn't work in 2022 (I just tried). I'm currently in process of finding an alternate.

    I don't understand why Microsoft thinks this functionality isn't useful, or perhaps they just think third-party makes better options, but I was perfectly happy with the one they removed.

    0 comments No comments

  2. Jeff Sipko 1 Reputation point
    2022-12-08T20:17:05.177+00:00

    In case, like me, you were thinking of the other $(variable) macros, Microsoft has renamed that feature in 2022 to MSBuild Properties. See this page for more info: https://learn.microsoft.com/en-us/visualstudio/ide/how-to-specify-build-events-csharp?view=vs-2022#macros

    0 comments No comments