gacutil : 添加.NET 4.0 assembly 到GAC失败
脚本:
E:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe /i AssemblyBuiltUnderNETFX4.dll
错误信息:
Failure adding assembly to the cache: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
解决方案:
E:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\gacutil.exe /i AssemblyBuiltUnderNETFX4.dll