Skip to content

Clang Power Tools menu is disabled when connected to corporate network but blocked from the internet #1408

@cohenrotem

Description

@cohenrotem

When Visual Studio is started while connected to corporate network, but blocked from the internet, Clang Power Tools (CPT) is installed but its menus are grayed out in the context menu.

If I disconnect from the LAN and restart Visual Studio, CPT works correctly and the menus are enabled.

This behavior is consistent across different Visual Studio versions.

Environment:

  • OS: Windows 11 23H2
  • Visual Studio: VS2019 and VS2022
  • Clang Power Tools version 2025.8.0
  • LLVM: Installed LLVM 20.1.8
  • Network: Corporate LAN (behind firewall) - no internet access

Steps to reproduce:

  • Connect PC to corporate LAN (that is blocked from the internet) and open Visual Studio
  • Right-click the project in Solution Explorer
    • CPT entries appear grayed out
  • Disconnect from LAN
    • Restart Visual Studio, CPT entries are now enabled

Note:

  • I don't know if the issue is related to the specific configuration of the corporate LAN

Logs:

  • After running with devenv.exe /log, no CPT-specific errors found in ActivityLog.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions