Reputation: 95
Actually i have a Visual Studio 2019 project that which are going to updated trought of a new programing languaje, a new microservice architechture and a new data base manager. i have the project like Visual Studio 2019 solution and i asked to me, if is possible with Visual Studio generate the class diagram of my project automatically??? because i only have this project such a documentation and reference frame, with the code i can generate automatically the class diagram? is possible know the bussines rules trought the code?
Upvotes: 4
Views: 12365
Reputation: 6251
One neat approach which neither requires enterprise edition nor VS at all and is free and customizable is the extension for VS Code named "CSharp to PlantUML"
You can find the repo here: https://github.com/pierre3/PlantUmlClassDiagramGenerator
You can export the generated plantUML file to SVG, PDF, PNG, and several other formats.
Upvotes: 0
Reputation: 3688
Please follow the steps below:
Start Visual Studio Installer, click "Single Component", "Code Tools", and check "Class Designer".
Right-click the project to be viewed, select "View", "View Class Diagram" or right-click the project, select Add, New Item, and create a new class diagram.
Finally, drag the project into the class diagram to generate the class diagram.
Upvotes: 5