Class Diagram Toolbox - Can't use any components

Ryan Kaye-Simmons 1 Reputation point
2022-08-09T01:22:45.227+00:00

Hi all,

I am using Visual Studio 2019 (Version 16.11.17) and am trying to create a C++ Class Diagram.

When I try to use components from the Class Designer toolbox, I see that only 'Pointer', 'Comments' are available - all other components are greyed out and not useable.
I am also unable to use these toolbox components from the context menu (i.e. Right-click -> Add -> 'Comments' is only shown).

I have not been able to find the answer to this question on any Microsoft or SO thread.

Please help me use this tool!

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,642 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,544 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
971 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,891 Reputation points Microsoft Vendor
    2022-08-10T09:20:22.94+00:00

    Hi @Ryan Kaye-Simmons ,

    Welcome to Microsoft Q&A!

    It is designed like this.

    For C++ project, the Class, Enum, etc. are disabled by default in Class Designer toolbox.

    If you have any suggestion about the feature, you can upvote this ticket and directly report to product team.
    https://developercommunity.visualstudio.com/t/Class-Designer-for-C---Issue-with-VS20/980949?space=8&entry=problem&q=Class+Designer+toolbox

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.