"Failure adding assembly to the cache: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." NET 4.0/4.5 assembly), you will encounter the following error message: If you accidentally use an older version of gacutil.exe against a newer. NET 4.5, then you will instead want to use the newer version of gacutil.exe to target these assemblies.
NET 2.0, then you will want to use the older version of gacutil.exe, but if you are targeting.
#HOW TO INSTALL GACUTIL EXE ON WINDOWS SERVER 2012 WINDOWS 7#
NET Framework and instead ships separately with the Microsoft Windows SDK.ĭepending on what OS you are running will determine what version of the Microsoft Windows SDK you will want to install, but for this example, I will use the Microsoft Windows SDK for Windows 7 and. If you are looking for gacutil.exe, you may have noticed that it no longer ships natively with the.