We can create Class Diagram in Microsoft Visual Studio which shows relation between classes.
Is it possible to create/draw/export Project Dependencies Diagram? Something that shows dependencies between projects in a diagram, not only a list.
Is there any extension for Visual Studio to do so?
If you have Visual Studio Ultimate, you can use the Architecture Menu -> Generate Dependency Graph.
I don't know if it's available in downlevel skus.
Related
Is it possible to build a Debugging Visualizer that can be used in multiple versions of Visual Studio?
A Debugging Visualizer has to reference Microsoft.VisualStudio.DebuggerVisualizers.dll and there is a separate version of the assembly for every version of Visual Studio. It seems that these versions are not compatible. For example, if I built a visualizer that references Microsoft.VisualStudio.DebuggerVisualizers v9.0, it can be used in Visual Studio 2008, but not in Visual Studio 2010.
I am looking for a way to target at least Visual studio 2008 and Visual Studio 2010 while maintaining only one project for the visualizer. Duplicating the project and changing only references to Microsoft.VisualStudio.DebuggerVisualizers will work, but it creates a maintenance horror.
If your code base is exactly the same for both referenced assemblies then I would suggest the same approach as I've suggested in this question: Visual Studio Installer -- Change application resource
The idea is to have 1 project where you will have a MSBuild property which VS to target and depending on this property you may reference either VS 2008 or VS 2010 DebuggerVisualizers assembly.
The only other solution I see is the one you've mentioned - having 2 separate project files to target different VS version. I do not think it will be that difficult to maintain two versions if you will not duplicate code. And you can avoid duplicating code by including code files as links into your projects.
I have a VS 2010 solution with 17 projects in it. I want to make a dependency diagram which shows dependencies between the projects.
Have a look at my latest program at http://devio.wordpress.com/2011/01/26/visual-studio-solution-dependency-visualizer/
Is there any way to generate a sub system diagram of an application from its visual studio solution?
I am not looking to generate a class diagram.
Visual Studio 2010, at least in the 2010 Ultimate edition, has an "Architecture" menu item with a "Build Dependency Graph" option. One of the options is to build the graph "by Assembly." It sounds like that is what you are after.
Is there a way in Visual Studio 2008 Professional edition to create a graphical representation of an application? What I am looking for is a flowchart or other design graph that shows each program in the app and how they relate to other programs and files in the app. I can create one using Visio, but wanted to know if there is something built into Visual Studio that can do this.
Yes.
In the solution explorer, right click on your project, and choose Add->New Item...
In the Project Items, add a "Class Diagram".
This lets you create a class diagram, which can be used to show inheritance and other relationships between your classes.
Does Visual Studio 2010 Professional have the Diagramming support announced on the web?
Do I need to install the TS version to be able to get these features ?
According to the Microsoft website, only the Ultimate Edition of Visual Studio 2010 (full relaease not Beta) comes with the UML Modelling Tools:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/product-comparison
(Under 'Architecture and Modeling' features)
They're there -- the UML diagrams, if that's what you mean (at least in my version -- VisualStudio Team System 2010 Version 10.0.20506.1.Beta1).
Select File -> New -> Modeling Project.
Then in the Solution Explorer (the window on the right), right click on your Modeling Project (whatever name you supplied -- default is ModelingProject1). Then select Add -> New Item -> Sequence Diagram. (Or Activity, Class, Component, Layering, Use Case).
It's too early to get a definite answer: the phase when a product group defines the exact packaging and licensing is just beginning.
Heard it is available in VS2010. But not sure about edition specific features. It is yet to declare.
Check this: What’s new in Visual Studio 2010 Rosario
The Modeling tools can be found in the TS Version of Visual Studio 2010 Beta 1.
You need Visual Studio Ultimate to create modeling projects. You can read modeling projects in Visual Studio Professional.