Search Unity

Error: type `System.Reflection.Emit..... when Build a project

Discussion in 'Windows' started by FIllbiker, Aug 13, 2013.

  1. FIllbiker

    FIllbiker

    Joined:
    Jun 9, 2010
    Posts:
    118
    Hi, I'm trying to build my project (works fine for iOS and Mac) and get this error when build processing...

    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.

    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.AssemblyBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.AssemblyBuilderAccess` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.AssemblyBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.ConstructorBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.


    Does anybody know how to fix it?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,900
  3. FIllbiker

    FIllbiker

    Joined:
    Jun 9, 2010
    Posts:
    118
    Thank you. I found out it causes Simple Waypoint System (HOTween scripts I guess).
    I removed it and it works. Now I need to create a new waypoint system. :-/
     
    Last edited: Aug 13, 2013
  4. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,260
    Replied to this here.
     
  5. FIllbiker

    FIllbiker

    Joined:
    Jun 9, 2010
    Posts:
    118
    Ok, thank you...