Code generation from class diagram with VS 2013 Failing


  • Hello alltogether.

    My question is about the code generation itself.

    I have created some a classdiagram file and i would like to create "correct" code from this diagram. The problem is, that the code generation itself do not create the same classes as i put into the diagram.

    To my VS 2013. Its 2013 Ultimate Student Version.

    The transformation for the class with the method ToString is not

    public override String ToString()


    public virtual String ToString()

    I dont get it why the rule is not working!

    I'm using default Templating System from VS itself. Maybe I really need to define own tranformation rules? Then what is the correct rule control for the templates?

    Montag, 9. Dezember 2013 08:29