You are here:  

Blog

Jun 8

Written by: DigitalRune Team
Tuesday, June 08, 2010  RssIcon

 

If you don’t know how to create class diagrams for the XNA classes in Visual Studio, here is a quick summary of the process.

Prerequisites

You need Microsoft Visual Studio 2008 Professional Edition or better. I think you cannot create class diagrams in the Express editions. Correct me if I am wrong.

Steps

  1. Create a new XNA Game Project in Visual Studio 2008 (Professional).
  2. Add an empty Class Diagram to the project: Right click on project in Solution Explorer | Add | New Item… | Class Diagram
  3. Open the “Object Browser”.
  4. Browse to the XNA Framework Assemblies:
    image
  5. Drag-and-drop a namespace or individual types from the Object Browser to the empty class diagram.

Simple. The only “surprising” thing for me was that you can drag-and-drop items from the Object Browser onto class diagram.


Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
Categories
Tags
Archive
 
Home | Products | Services | Downloads | Buy | Support | About