I would like to make a UML flow diagram and I currently have Visual studio 2013 however I cannot find a way to begin creating a UML Diagram i.e. either the project to add or the item.
I cannot find the 'Architecture Menu' and there doesnt seem to be a way to add it.
Any Ideas on what I'm missing / Doing wrong?
This is the type of diagram I would like to create:
You require the Visual Studio 2013 Ultimate SKU to access the modeling features. To check which version of Visual Studio you have click on Help > About Microsoft Visual Studio.
You can compare the features available across various SKUs here: http://www.visualstudio.com/products/compare-visual-studio-products-vs
Related
[I asked this question in MSDN in June and have had no replies as yet so I am hoping that I can get an answer here. A stackoverflow search for "uwp blend" yielded exactly 100 results, none of which are for the same issue as here.]
I created a brand new WIndows Template Studio solution - called "AppName" - with VS 15.7.3 and added a .NET Standard 2.0 class library project - called "ConversionService" - to the solution.
When I tried to open the solution in VS Blend 15.7.3 (same version number as VS) I got the following - rather scary - message:
One-way upgrade
Visual Studio will automatically make functional changes to the following projects in order to open them. You will not be able to open these projects in the version of Visual Studio in which they were originally created.
- ConversionService, "[location redacted]ConversionService.csproj"
Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- AppName, "[location redacted]\AppName.sln"
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- , ""
What does the above message mean? (I redacted the actual file locations.)
It seems to say that I won't be able to go back into VS to edit the ConversionService project, which is definitely something I want to be able to do.
Why does VS Blend 15.7.3 seemingly not like projects created in VS 15.7.3?
(I previously had the same issue with another completely separate solution containing UWP and NET Standard projects but I didn't need Blend for that.)
I have seen this before when working in Visual Studio and always wondered why. I could not find any explanation online.
In Visual Studio Professional 2015 (May be the case in other versions but I have not tested) when adding a new class to a project
Right click project --> Add --> class -
I see 2 seemingly identical options for Visual C# classes. The description of these are exactly the same. I have tried adding both and can not find any difference in the 2.
Is this a bug? Or does anybody know why I see 2 different Class options?
I only have one item in Visual Studio 2015 Community Edition
One possibility is that you downloaded additional templates, which caused duplicates. Or you could have corrupted your installation somehow.
To answer your question - why there are two items: There shouldn't be! And usually there aren't. If you re-install Visual Studio completely, it should be fixed, but I wouldn't go that far just to fix this minor issue.
I'm working on a program and I had this problem:
when I add a button, for example, it's called automaticly button1, button2, etc.
I want the posibility to name it as I want it to be called right when I add it without the need of changing the 'Name' in the properties. Like you add a new Form and can name it as I you want, like that just for button, textboxes, etc.
Thanks
You should look into the Visual Studio 2010 Visualization and Modeling SDK. It answers your need, here is Microsoft introduction to it on MSDN
Domain Specific Languages (DSL Tools) and Architecture Tools SDK for Microsoft > Visual Studio 2010. This SDK provides tools and templates for building Visual > Studio Domain Specific Language designers for Visual Studio 2010 and extending > UML and Layer designers. By using this SDK, you can build your own graphical
or form-based designers for Visual Studio 2010 and extend existing tools.
We have visual studio 2008 architecture installed and a c# solution created. We need to generate UML diagram (showing the classes, the relationship between them etc). In the architecture edition we don't see any option that would generate such diagram. The option of class digram mearly generates the class diagram but do not show such relationship.
Is anyone aware of this?
Thanks in advance.
AFAIK UML diagrams are non existent in VS 2008
They should be available in VS 2010
Best bet here: download a tool that can import the existing code and create diagrams
try Enterprise architect- http://www.sparxsystems.com/
HTH
You need to install Visio 2003 or Visio 2007 to generate UML diagrams from within Visual Studio.
Also note, not sure what relationships you're looking to see, but any property that references an object, you can right-click and pick 'Show Association', which will connect those on the diagram.
Also also, you can download the power tools for architecture edition to give you more diagramming abilities in the designer: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5ef45ad4-336b-4a37-aded-ee9c9d8e6f8d&DisplayLang=en
Edit: Apparently this was removed from VS2008. If you have access to Visual Studio 2005, there are steps here for reverse-engineering a 2008 project in 2005.
In school I have learned that creating UML Diagrams/Models is great design practice before taking on a project. I have found it quite useful myself, in doing so I tackle projects much faster, and my overall design tends to be better.
I've noticed a basic redundancy issue when it comes to writing code. In Visio you can be very descriptive in your Models. Your basic outlines for your classes can include C# variable types/methods. They are detailed enough that Visio has you choose whether it is C# or VB.
My Question is, with this much detail, does there exist an importing technique between Visio and Visual Studio 2008? It seems like you could import that simple model as an outline for classes in Visual Studio, with everything declared except for the actual code within Methods. This would be very useful, especially when it comes to design steps for creating a program. My classes/variables/methods would already be declared for me. I would just have to go back and write the meat of the code.
I've done some searching on the subject and haven't turned up much, it seems like Microsoft would have included a feature to do this.
From the Visual Studio Team System 2008 and Visio FAQ:
Can I Migrate Visio UML Diagrams to
Visual Studio 2008? Visual Studio
2008 does not include support for
migrating UML diagrams directly. If
you have static structure UML
diagrams, you can use Visio for
Enterprise Architects to generate code
based on the model. Then you can open
the code in Visual Studio Team System
2008 Architecture edition and create
class diagrams from the generated
code. For more information, see
Working with Class Diagrams.
Other UML diagram types are not
supported for migrating model
information to Visual Studio 2008.
You might want to post in the VS 2010 arch forum to ask about support for this in a future release for Visual Studio 2010 Ultimate. It won't be in the RTM version, but the product team should provide you an update about this feature:
Visual Studio 2010 Architectural Discovery & Modeling Tools forum at http://social.msdn.microsoft.com/Forums/en-US/vsarch/threads