Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

System.Reflection.Emit.AssemblyBuilder doesn't exist in target framework.

Discussion in 'Windows' started by EvilDingo, Aug 10, 2013.

  1. EvilDingo

    EvilDingo

    Joined:
    May 7, 2011
    Posts:
    190
    Hello,

    I can't seem to track down what uses this. I wish Unity would show where it's being accessed from. Any ideas on how I can figure out what feature I need to change to remove this error?

    Thanks,
    Jason

    Error building Player: Exception: 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.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.
     
  2. EvilDingo

    EvilDingo

    Joined:
    May 7, 2011
    Posts:
    190
    Okay, I found it. But only from trial and error. HOTween was the culprit in this case. There has to be a better way than delete-build until the error goes away.