Book a Demo

Author Topic: C# Code Gen - Duplicate attributes  (Read 2913 times)

eAndy

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
C# Code Gen - Duplicate attributes
« on: October 01, 2004, 05:20:51 am »
It seems each time I generate code EA duplicates the attribute definitions.

Has any one seen this?

I've tweaked the code template and wonder if maybe its having trouble recognizing what it generated the previous round.

Properties/methods aren't duplicated, just the attribute definitions.
« Last Edit: October 01, 2004, 05:21:08 am by eAndy »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C# Code Gen - Duplicate attributes
« Reply #1 on: October 03, 2004, 04:27:42 pm »
The following thread is relevant to you.

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=Automation;action=display;num=1096503394

The most important point being, if EA is not recognising stuff that it generated properly then you have probably modelled it differently to what EA expects.  Try reverse engineering it to see how EA's parser models it.

The other reason that it wouldn't recognise something as the same is if you changed something that EA needs to be the same.  In this case there isn't really much that you can do.

Simon