Click here to Skip to main content
15,746,248 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I have imported the source code(C++) into Enterprise Architect 12 for class diagram, Now I'm again generating the source code from the EA. Code is successfully generated but the problem is-

The Code is not in sequence according to Object ID, so Whenever I run that code in VS2013 it will throw the error.

In order to overcome this error I have to arrange all classes by manually according to previous source code which is imported into EA.

Could you please suggest me how to solve this problem?


What I have tried:

I tried alphabetic sorting feature by turning it off. It only works for attributes and methods inside the class, but not for classes.
Updated 29-Jan-23 22:12pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900