title: InstallUtil throws TypeLoadException of AssemblySignatureKeyAttribute
body: <p>On the development computer there was no error when I used InstallUtil, the service was installed successfully.<br>
  I intended to install it on a different computer (it has .Net 4.0 installed), so I copied the following files to the target directory:</p>
  
  <ul>
  <li>InstallUtil.exe </li>
  <li>InstallUtil.exe.config </li>
  <li>InstallUtilLib.dll</li>
  </ul>
  
  <p>After running the util in admin mode, I get the following exception:</p>
  
  <blockquote>
    <p>Unhandled Exception: System.TypeLoadException: Could not load type
    'System.Reflection.AssemblySignatureKeyAttribute' from assembly
    'mscorlib, Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089'.    at
    System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken,
    Int Ptr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs,
    Int32 methodInst Count, ObjectHandleOnStack type)    at
    System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module,
    Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext,
    RuntimeTypeHandle[] met hodInstantiationContext)    at
    System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken,
    Type[] ge nericTypeArguments, Type[] genericMethodArguments)    at
    System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib
    uteRecord caRecord, MetadataImport scope, Assembly&amp;
    lastAptcaOkAssembly, Runtime Module decoratedModule, MetadataToken
    decoratedToken, RuntimeType attributeFilte rType, Boolean
    mustBeInheritable, Object[] attributes, IList derivedAttributes,
    RuntimeType&amp; attributeType, IRuntimeMethodInfo&amp; ctor, Boolean&amp;
    ctorHasParameters , Boolean&amp; isVarArg)    at
    System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule
    decora tedModule, Int32 decoratedMetadataToken, Int32 pcaCount,
    RuntimeType attributeFi lterType, Boolean mustBeInheritable, IList
    derivedAttributes, Boolean isDecorate dTargetSecurityTransparent)<br>
    at
    System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly
    asse mbly, RuntimeType caType)    at
    System.Reflection.RuntimeAssembly.GetCustomAttributes(Type
    attributeType, Boolean inherit)    at
    System.Configuration.InstallUtil.Main(String[] args)</p>
  </blockquote>
  
  <p>It seems that even the InstallUtil can't be started so it can't get to install the service.<br>
  What should I check?</p>