Unplanned
Last Updated: 21 Feb 2025 14:51 by ADMIN
Konstantin
Created on: 21 Feb 2025 11:32
Category: UI for WinForms
Type: Bug Report
0
Visual Studio 2022 crashes when switching between WinForms designers in .NET 6 and .NET 9 projects

Visual Studio 2022 crashes when working with a solution containing two WinForms projects:

  • Project 1: WinForms (.NET 9) with Telerik
  • Project 2: WinForms (.NET 6) without Telerik

Steps to Reproduce:

  1. Create a new solution in Visual Studio 2022.
  2. Add two WinForms projects:
    • Project 1: WinForms (.NET 9) with Telerik
    • Project 2: WinForms (.NET 6) without Telerik
  3. Open the WinForms designer for a form in Project 1 (Telerik, .NET 9).
  4. Without closing the designer, open the WinForms designer for a form in Project 2 (.NET 6, no Telerik).
  5. Switch to the code view of the form in Project 2.
  6. Switch back to the WinForms designer in Project 2.

Expected Result:
Visual Studio should smoothly switch between code and designer views without issues.

Actual Result:
Visual Studio freezes and crashes after switching back to the WinForms designer in Project 2.

Environment:

  • Visual Studio 2022
  • Windows Version: (Windows 11 x64)
  • Telerik WinForms Version: (2025.1.211)

Additional Notes:

  • The issue seems to be related to handling different .NET versions and Telerik components in the same solution.
  • The crash occurs consistently when following the steps above.
  • No explicit error messages are shown before Visual Studio closes.

1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 21 Feb 2025 14:51

Hello, Konstantin,

Thank you for the provided information and project that can reproduce the problem.

I was able to observe this behavior on my side while switching through different forms at design time. I confirm this is an issue and approve the bug report on the feedback portal so that our developers can look into it. Make sure that you follow this item so that you can receive updates. 

I updated your Telerik Points for bringing this to our attention. 

Please excuse us for this inconvenience.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!