Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Class Diagrams in VS 2017

I have been using VS 2015 and like the Class Diagram item.
I recently upgraded to 2017 and can't seem to find the Class Diagram item.
Anyone know how I get to it?

like image 616
Walt Avatar asked Oct 11 '22 18:10

Walt


People also ask

Does Visual Studio have UML diagram?

Visio launches, and the new UML diagram file opens for editing. In Visual Studio, select a solution in the Solution Explorer. On the Project menu, click Add Existing Item. In the Add Existing Solution Item dialog box, select the UML diagram you want, and then click Open.


2 Answers

Using VS2017 Enterprise:

  1. Go to the Quick Launch Bar (top right) Ctrl + Q
  2. Type "Class Designer" and an install link will pop up

    Quick Launch > Class Designer

  3. Click install, restart, and your off to the races... Enjoy!

like image 218
ericgol Avatar answered Oct 19 '22 06:10

ericgol


Noticed this in the beta and thought I had a bad install. The UI elements to add new Class Diagrams were missing and I was unable to open existing *.cd Class Diagram files in my solutions. Just upgraded to 2017 and found the problem remains. After some investigation it seems the Class Designer component is no longer installed by default.

Re-running the VS Installer and adding the Class Designer component restores both my ability to open and edit Class Diagrams as well as the UI elements needed to create new ones

VS Installer > Individual Components > Class Designer

like image 150
John Lewin Avatar answered Oct 19 '22 05:10

John Lewin