Skip to content

[X# 3] VS 18.3 Hangs with "Visual Studio is busy" when adding XSharp.Rdd.dll reference #1814

@JoeD84MK

Description

@JoeD84MK

Description

Visual Studio hangs indefinitely when attempting to add a reference to XSharp.Rdd.dll in a newly created X# VO Class Library project. The freeze occurs consistently if the project is built once prior to adding the reference.

After approximately 30–60 seconds of unresponsiveness, Visual Studio displays a "Visual Studio is busy" notification. The IDE does not recover, and the process must be terminated via Task Manager.

The ActivityLog.xml reveals several MEF (Managed Extensibility Framework) component load failures occurring during the session, which may be contributing to the deadlock. Specifically, multiple assemblies related to IntelliCode, C++ Analysis, and the Copilot Upgrade Agent failed to load due to missing dependencies.

Environment

  • Visual Studio Version: 18.3 (Log version: 18.0.11503.203)
  • XSharp Version: 3.0.0.1
  • Project Type: X# VO Class Library (VO Dialect)
  • OS: Windows 11
    Everything freshly installed on a VM.

Steps to Reproduce

  1. Open Visual Studio.
  2. Create a new Solution with an X# VO Class Library.
  3. Build the project once.
  4. Right-click References in Solution Explorer and select Add Reference....
  5. Browse to or select XSharp.Rdd.dll.
  6. Click OK.

Actual Behavior

Visual Studio freezes. After a period of time, the "Visual Studio is busy" popup appears. The UI remains locked until the process is killed.

Expected Behavior

The reference should be added successfully without UI thread exhaustion or deadlocks.

Diagnostic Information (from ActivityLog.x

ActivityLog - Kopie.xml

ml)
The log shows the following critical MEF errors:

  • Record 59: Failed to load IntelliCodeCpp.dll (Missing Microsoft.VisualStudio.VC.RecommendationProvider).
  • Record 63: Failed to load Microsoft.VisualStudio.CodeAnalysis.VCPlugin.dll (Missing Microsoft.VisualStudio.CppSvc.Internal).
  • Record 65: Failed to load Microsoft.UpgradeAssistant.Agents.dll (Missing System.ClientModel, Version 1.8.0.0).

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    To do

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions