1
votes

I am trying to Convert Uml Class Diagram into Code I am using this msdn link as help but this is for VS 2012 so it cant help a lot.

I have made two projects

  1. UML class diagram from Modelling
  2. C# Console Application

and I have added Reference of C# Console Application in UML class Diagram .

I have already made uml class Diagram in Modeling project but can not go further because i don't find any option like Generate code etc I have also made class diagram file in Console project of extension .cd but i cant put relationship between classes .just add new classes .interface etc Kindly help me to understand me this concept and send me more related links.

1

1 Answers

0
votes

I think you need to have the "Microsoft Visual Studio 2010 Visualization and Modeling Feature Pack" installed in order to be able to generate the code from the class diagrams. Here's the link explaining how to do it in using Visual Studio 2010:

How to: Generate Code from UML Class Diagrams in VS2010

I haven't tried it myself, but I hope that helps. Good Luck. Stephan