Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Class Diagram Viewer stand alone

Visual Studio Makes Class diagrams and if we open it in text editor program it is a simple XML. Surely we can generate that on runtime. But the problem is although you have visual studio to see the Class Diagram Generated but what solution is there if we want to deploy application where there is no Visual Studio Installed?

  1. Is there any possibility or available plugin or library that can generate Class diagram or UML diagram from XML?
  2. Can we somehow use Visual Studio Class Diagram to view it on runtime?
  3. Not Sure but what if we generate xml on Back end and then if possible create Image (png or gif) using some builtin plugin and display that? (I am really not sure about this idea :()

I have seen NClass It is very good but a bit complex and it is not developed through XML.

like image 850
Afnan Bashir Avatar asked Oct 31 '25 01:10

Afnan Bashir


1 Answers

In Visual Studio Enterprise 2017:

  1. Quit Visual Studio if it is running
  2. Start Visual Studio Installer
  3. Click dropdown list "More" and select "Modify"
  4. In section "Code tools", check the option for "Class Designer"
  5. Click button: Modify

Result: now the Class Diagram should load from Solution Explorer as UML.

like image 147
Red Rooster Avatar answered Nov 02 '25 16:11

Red Rooster



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!