Book a Demo

Author Topic: Code Generation Problem with .NET Attributes  (Read 2330 times)

majorbenks

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Code Generation Problem with .NET Attributes
« on: May 01, 2013, 10:17:32 pm »
I created a model and generated VB.NET Code from it. Then I changed the code in Visual Studio by adding Attributes (not talking about instance variables, talking about these .NET Attributes, similar to annotations in java. See example at the end.). When I wanted to reverse engineer I got this error: "Unexpected symbol: <<NEW LINE>>
Is there a way to solve this?

Thanks,
majorbenks

Example of .NET Attributes:

<ServiceContract()>
    Public Interface IPersonService

        <OperationContract()>
        Sub SearchPersons()

    End Interface

majorbenks

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Code Generation Problem with .NET Attributes
« Reply #1 on: May 04, 2013, 07:27:54 pm »
Is it maybe possible just to ignore lines beginning with <? Maybe within the template settings? It would be ok to just ignore attribute classes.