Class Diagram Toolbox - Can't use any components

Ryan Kaye-Simmons 6 Reputation points
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!

Developer technologies Visual Studio Setup
Developer technologies C++
Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.