Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Find, install, and manage extensions for Visual Studio

  • 2025-08-18
Feedback

In this article

This article describes how to find, install, and manage extension packages in Visual Studio.Extensions are code packages that run inside Visual Studio and provide new or improved features. Extensions can be controls, samples, templates, tools, or other components that add functionality to Visual Studio, for example,Live Share orGitHub Copilot.

For information about creating Visual Studio extensions, seeVisual Studio SDK. For information about using extensions, see the individual extension page onVisual Studio Marketplace. For information about finding extensions, see theWhere Are My Favorite Extensions in Visual Studio 2022? blog post.

Note

To learn more about an extensibility model that's currently in preview, see theBuild Better Extensions with VisualStudio.Extensibility (Preview 3) blog post.

This article describes how to find, install, and manage extension packages in Visual Studio.Extensions are code packages that run inside Visual Studio and provide new or improved features. Extensions can be controls, samples, templates, tools, or other components that add functionality to Visual Studio, for example,Live Share orGitHub Copilot.

For information about creating Visual Studio extensions, seeVisual Studio SDK. For information about using extensions, see the individual extension page onVisual Studio Marketplace.

Use Extension Manager

In the Visual Studio IDE, Extension Manager is the tool that you use to find, install, and manage Visual Studio extensions. To open Extension Manager, selectExtensions >Manage Extensions. Or enterextensions in the search box and selectManage Extensions.

Screenshot of Extension Manager in Visual Studio.

Screenshot of Extension Manager in Visual Studio.

The left pane categorizes extensions by those that are available on Visual Studio Marketplace (Browse), those that are installed, and those that have updates available. TheRoaming tab lists all the Visual Studio extensions that you have installed on any machine or instance of Visual Studio. It's designed to let you find your favorite extensions more easily.

Tabs have buttons to filter and sort extensions, and a gear button that takes you to theTools >Options screen.

You can use the filter button to filter extensions by category. Categories forInstalled extensions includeEnabled,Disabled, andIncompatible. In 17.14 and later, you can also filter byPending, which filters by extensions with updates that will be applied the next time you restart Visual Studio.

Use the sort button to sort by extension name, extension author, or date.

Find and install extensions

You can install extensions fromVisual Studio Marketplace or from Extension Manager in Visual Studio.

To install extensions from Visual Studio:

  1. SelectExtensions >Manage Extensions. Find the extension you want to install. (If you know the name or part of the name of the extension, you can search in the search box.)

  2. SelectInstall.

After the download completes, you see a notification at the top of Extension Manager: "Your changes are scheduled. The modifications will begin when Microsoft Visual Studio is closed."

Screenshot that shows the notification in Extension Manager stating that changes are scheduled.

After the download completes, you'll see a notification at the bottom of the Manage Extensions dialog: "The extension is scheduled for install. Your extension will be installed after all instances of Visual Studio have been closed."

Screenshot that shows the notification in Extension Manager stating that changes are scheduled.

If you try to install an extension that has dependencies, the installer determines whether they're already installed. If they aren't installed, Extension Manager lists the dependencies that must be installed before you can install the extension.

Install extensions without using Extension Manager

Extensions that are packaged in.vsix files might be available in locations other than Visual Studio Marketplace. TheExtensions >Extension Manager dialog can't detect these files, but you can install a.vsix file by double-clicking the file or selecting the file and then selectingEnter. If you encounter permission issues, ensure that you're running Visual Studio as an administrator. After that, just follow the instructions. When the extension is installed, you can use Extension Manager to enable it, disable it, or uninstall it.

Note

  • Visual Studio Marketplace contains both VSIX-based and MSI-based extensions. Extension Manager can't enable or disable MSI-based extensions.
  • If an MSI-based extension includes anextension.vsixmanifest file, the extension appears in Extension Manager.

Uninstall or disable an extension

If you want to stop using an extension, you can either disable it or uninstall it. Disabling an extension keeps it installed but unloaded. Find the extension and selectUninstall orDisable. Restart Visual Studio to unload a disabled extension.

Note

You can disable VSIX-based extensions but not extensions that are installed via MSI. MSI-installed extensions can only be uninstalled.

Manage extensions

This section provides information about managing extensions for an organization, automatic extension updates, and unresponsiveness notifications.

Per-user and administrative extensions

Most extensions are per-user extensions and are installed in the%LocalAppData%\Microsoft\VisualStudio\<Visual Studio version>\Extensions\ folder. A few extensions are administrative extensions and are installed in the<Visual Studio installation folder>\Common7\IDE\Extensions\ folder.

To protect your system against extensions that might contain errors or malicious code, you can restrict per-user extensions to load only when Visual Studio is run with normal user permissions. This causes per-user extensions to be disabled when Visual Studio is run with elevated permissions.

To restrict when per-user extensions load:

  1. Open the extensions options page (Tools >Options >Environment >Extensions).

  2. Clear theLoad per user extensions when running as administrator checkbox.

  3. Restart Visual Studio.

Automatic extension updates

Extensions are updated automatically when a new version is available on Visual Studio Marketplace. The new version of the extension is detected and installed in the background. The next time you open Visual Studio, the new version of the extension will be running.

If you want to disable automatic updates, you can disable the feature for all extensions or for only specific extensions.

  • To disable automatic updates for all extensions, select theView Settings button in theExtensions >Manage Extensions dialog. In theOptions dialog, underEnvironment >Extensions, clearAutomatically update extensions.

  • To disable automatic updates for a specific extension, clear theAutomatically update this extension option in the extension's details pane on the right side of Extension Manager.

Extensions are updated automatically when a new version is available on Visual Studio Marketplace. The new version of the extension is detected and installed in the background. The next time you open Visual Studio, the new version of the extension will be running.

If you want to disable automatic updates, you can disable the feature for all extensions or for only specific extensions.

  • To disable automatic updates for all extensions, select theView Settings button in theExtensions >Manage Extensions dialog. In theOptions dialog, underEnvironment >Extensions, clearInstall updates automatically.

  • To disable automatic updates for a specific extension, clear theAutomatically update this extension option in the extension's details pane on the right side of Extension Manager.

The rest of this section describes changes available in Visual Studio 2022 17.14 and later. The changes make it easier to see what's going on with extension updates, and manage automatic update settings from Extension Manager or inTools >Options.

Whenever you open the Extension Manager window, you automatically trigger updates. This ensures that you're consistently working with the latest features and don't need to manually initiate updates.

When an update is available for an extension, you see a yellow notification infobar:

Screenshot showing how Visual Studio notifies you about extension updates that are available.

Also, a notification appears when updates are applied, reminding you to restart Visual Studio so that the extensions take effect.

You can change settings for automatic updates on the extension's page in Extension Manager.

Screenshot showing how to configure whether an extension is updated automatically.

ThePending category enables you to view only extensions that have pending updates.

Screenshot showing how to filter the extension list to view only extensions that have pending updates.

Automatic update settings

You can also configure automatic update settings inTools > Options.

Screenshot showing how to configure automatic extension updates in Tools > Options.

The list underExtensions excluded from automatic updates shows the extensions that won't be updated automatically. You might use this to ensure the stability and consistency of the extensions you're using during a critical phase of your development lifecycle.

Crash and unresponsiveness notifications

Visual Studio notifies you if it suspects that an extension was involved in a crash during a previous session. When Visual Studio crashes, it stores the exception stack. The next time Visual Studio starts, it examines the stack, starting with the leaf and working towards the base. If Visual Studio determines that a frame belongs to a module that's part of an installed and enabled extension, it shows a notification.

Visual Studio also notifies you if it suspects that an extension is causing the UI to be unresponsive.

When you see one of these notifications, you can ignore it or take one of the following actions:

  • SelectDisable this extension. Visual Studio disables the extension and lets you know whether you need to restart your system for the disable operation to take effect. You can re-enable the extension in theExtensions >Manage Extensions dialog.

  • SelectNever show this message again.

    • If the notification concerns a crash in a previous session, Visual Studio no longer shows a notification when a crash associated with the extension occurs. Visual Studio still shows notifications when unresponsiveness can be associated with the extension or for crashes or unresponsiveness that can be associated with other extensions.
    • If the notification concerns unresponsiveness, the IDE no longer shows a notification when the extension is associated with unresponsiveness. Visual Studio still shows crash-related notifications for the extension and crash-related and unresponsiveness-related notifications for other extensions.
  • SelectLearn more.

  • Select theX at the end of the notification to dismiss the notification. A new notification appears if the extension is associated with a crash or with UI unresponsiveness in the future.

Note

A UI unresponsiveness notification or crash notification means that one of the extension's modules was on the stack when the UI was unresponsive or when the crash occurred. It doesn't necessarily mean that the extension caused the problem. It's possible that the extension called code that's part of Visual Studio, which in turn resulted in unresponsive UI or a crash. However, the notification might still be useful if the extension that led to the UI unresponsiveness or crash isn't important to you. In this case, disabling the extension avoids the UI unresponsiveness or crash in the future.

Marketplace protections

The Visual Studio Marketplace for extensions employs several mechanisms to protect you from malicious extensions:

  • Malware scanning: The Marketplace runs a malware scan on each extension package that's published to ensure its safety. The scan, which uses several antivirus engines, is run for each new extension and for each extension update. Until the scan is all clear, the extension won't be published in the Marketplace for public usage.

  • Verified publishers: Publishers can verify (blue check mark) their identity by proving domain ownership. It shows that the publisher has proven domain-name ownership to the Marketplace. It also shows that the Marketplace has verified both the existence of the domain and the good standing of the publisher on the Marketplace for at least six months.

  • Unusual usage monitoring: The Marketplace monitors the downloads and usage patterns of extensions to detect unusual behavior.

  • Name squatting: The Marketplace stops extension authors from stealing the names of official publishers, such as Microsoft or RedHat, and popular extensions, like GitHub Copilot.

  • Block List: If a malicious extension is reported and verified, or a vulnerability is found in an extension dependency, the extension is removed from the Marketplace.

  • Extension Signature Verification: The Visual Studio Marketplace signs all extensions when they're published. Visual Studio checks this signature when you install an extension to verify the integrity and the source of the extension package.

  • Secret Scanning: The Marketplace automatically scans every newly published extension for secrets such as API keys or credentials (e.g., Azure DevOps PAT tokens). If any secrets are detected, publishing is blocked to prevent potential security risks.

Learn about these measures in theSecurity and Trust in Visual Studio Marketplace blog post.

Samples

When you install an online sample, the solution is stored in two locations:

  • A working copy is stored in the location that you specified when you created the project.

  • A separate master copy is stored on your computer.

You can use theExtensions >Manage Extensions dialog to perform these samples-related tasks:

  • List the master copies of samples that you have installed.

  • Disable or uninstall the master copy of a sample.

  • Install Sample Packs, which are collections of samples that relate to a technology or feature.

  • Install individual online samples.

  • View update notifications when source code changes are published for installed samples.

  • Update the master copy of an installed sample when there's an update notification.

Related content


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

In this article

Was this page helpful?

YesNo
No

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?