Author Topic: Obfuscation issues, help!  (Read 1881 times)

0 Members and 1 Guest are viewing this topic.

Jeff_M

  • King Gator
  • Posts: 4099
  • C3D user & customizer
Obfuscation issues, help!
« on: February 18, 2013, 07:58:48 PM »
I have an issue where my Debug compiled code works flawlessly, but my Release code run through Dotfuscator fails on this line (where ptList is an IList<AeccPoint>):

    List<AeccPoint> sortedptList = ptList.ToList<AeccPoint>();

With this exception:
System.EntryPointNotFoundException: Entry point was not found.
   at System.Collections.Generic.IEnumerable`1.GetEnumerator()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)


Any ideas why this fails when obfuscated? What can I do to keep it from failing? Oh, and the same code works fine when obfuscated using .NET3.5, it's only the .NET4 where this fails.

TheMaster

  • Guest
Re: Obfuscation issues, help!
« Reply #1 on: February 18, 2013, 10:11:57 PM »
I have an issue where my Debug compiled code works flawlessly, but my Release code run through Dotfuscator fails on this line (where ptList is an IList<AeccPoint>):

    List<AeccPoint> sortedptList = ptList.ToList<AeccPoint>();

With this exception:
System.EntryPointNotFoundException: Entry point was not found.
   at System.Collections.Generic.IEnumerable`1.GetEnumerator()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)


Any ideas why this fails when obfuscated? What can I do to keep it from failing? Oh, and the same code works fine when obfuscated using .NET3.5, it's only the .NET4 where this fails.

it's obviously a bug in the obfuscator.

Jeff_M

  • King Gator
  • Posts: 4099
  • C3D user & customizer
Re: Obfuscation issues, help!
« Reply #2 on: February 19, 2013, 09:18:00 AM »
I have Preemptive's support working on this.