MetalamaConceptual documentationInstalling MetalamaInstalling Metalama Tools for Visual Studio
Open sandboxFocusImprove this doc

Installing Metalama Tools for Visual Studio

Metalama Tools for Visual Studio is an extension that enhances your development experience by providing features such as syntax highlighting for aspect codes, CodeLens additions, and the ability to compare your original source code against the transformed code. While this extension is optional, it is highly recommended for a more comprehensive understanding of your aspect-oriented code.


Metalama Tools for Visual Studio require Visual Studio 2022.

  1. Go to Extensions > Manage Extensions.


  2. This will open the following dialog:


  3. In the search box to the right of the prompt, type "Metalama".


  4. Click the Download button to begin the download process.


  5. Once the extension is downloaded, it will be ready for installation as soon as all instances of Visual Studio are closed. This requirement is highlighted at the bottom of the screen.


  6. Provide consent for the installation of the extension.

    The installation process will begin automatically when Visual Studio is closed.


    The installation wizard operates independently and will request your consent during the following stage:


  7. Click "Modify" to finalize the installation.

    To continue with the installation, click on the Modify button. The wizard will then proceed with the installation process.


    Upon successful installation, the wizard will display the following screen:


To verify the successful installation of the extension, navigate to the Extensions Manager. If the installation was successful, a green tick mark will be displayed on the top right corner of the extension icon.


Installing Metalama Command-Line Tool

While the Metalama command-line tool may not be necessary during your initial interactions with Metalama, it is beneficial to be aware of its existence. For more information, refer to Installing the Metalama Command Line Tool. We will remind you about this tool when it becomes relevant to your work.