when designing UML models in Visual Studio 2010 Ultimate (with Visualization and Modeling Feature Pack 1) I always need to indicate the full Type name (including the namespace) in order to get code that compiles (when doing 'Generate Code...'). Is there a way to "import" namespaces into the model? I can 'Add Reference...' on the Modelling Project, but this won't work because VS puts it as a Layer Reference (which is something else unfortunately).
Being forced to indicate the whole namespace makes the UML diagrams really hard to read... Imagine this being one line in an UML class model:
+ GetTexture(device : Microsoft.Xna.Framework.Graphics.GraphicsDevice) : Microsoft.Xna.Framework.Graphics.Texture2D
Thanks for your help!