I assume that this was tested on some version of Visual Studio 2010, on some operating system. I'm positive that it doesn't work properly with Visual Studio 2010 on Windows Server 2008 R2, however. Any attempt to drag classes from the architecture explorer onto the class design surface yields an icon indicating that the class cannot be dropped onto the surface. This experience is consistent with the rest of the experience of using the UML modeling tools in Visual Studio 2010. Dependencies can't be stereotyped except as extensions, for instance, despite having made sure that the necessary profiles are loaded. Back to Visio, it seems, for the time being, at least.
It is a .vsix file. All you do is double click on it and it is added to Visual Studio such that the Extension Manager ( under Tools->Extension Manager... ) can detect it and properly manage it inside Visual Studio.
in my Visual Studio 2010 Ultimate, under Tools->Extension Manager, it can detect Visualization and Modeling Feature Pack Runtime.
I try below:
On a class diagram or in UML Model Explorer, select elements from which you want to generate code. You can select one of the following:
• A specific set of elements.
• A package or the model, to generate code from its contents.
• The diagram, to select all the elements on the diagram.
Right-click a selected element, and then click Generate Code.
However, I right click on a package, I cannot see any Generate Code button for me to perform it.