My understanding is that Visio is supposed to have some ability to auto-generate code from class diagrams. I've been banging my head around trying to get this to work. Could someone please point me in the right direction?
I have never found the key to generating code using Visio. You probably need to import the model the into Microsoft Visual C++ or Visual Basic... if those tools allow it. I only use the UML in VISIO for customer communications because of its graphics abilities. I use Rational Rose for all other UML development efforts, unfortunately I have not been successful in exporting/importing between the two tools (Visio/Rational Rose)
I'm using VisualStudio.NEt Enterprise though, and it claims that Visio (which also comes bundled with vs.net) is supposed to generate skeleton code based on uml diagrams, so it can be done.
In vs.net, I can only have the option of reverse engineering under the UML option, not generate code. And no, I don't HAVE a UML add on (unless I'm looking in the wrong spot)
Just to let you know, I did get it working. It was my bad: I was using visio professional, and didn't realize that I needed to install the enterprise version that came with vs.net. its all good now.
I have VS.net enterprise developer and I don't see Visio. What version do you have? I have installed Visio Pro and vs.net and my visio does not have the "code" and "generate" menu selections on the UML drop down menu.
If you look in your .NET directory, there should be a Visio folder in there with a setup program. you need to run this to upgrade your visio professional to enterprise. once you do this, you'll have the UML to code functionality.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.