MalcolmPost
05-31-2012, 01:01 PM
I am getting a failure when running the GAC Install action on an assembly that targets the .NET 4.0 framework. Following are the command line and error received:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" /nologo /if "C:\Program Files (x86)\<path to my assembly>"
Failure adding assembly to the cache: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
From a command prompt, I can run the following command successfully:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\gacutil.exe" /nologo /if "C:\Program Files (x86)\<path to my assembly>"
Is there an option on that GAC Install action that I need to set or some other means of to get it to run the gacutil from the correct location?
I am running Visual Build Pro Version 7.7a.
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" /nologo /if "C:\Program Files (x86)\<path to my assembly>"
Failure adding assembly to the cache: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
From a command prompt, I can run the following command successfully:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\gacutil.exe" /nologo /if "C:\Program Files (x86)\<path to my assembly>"
Is there an option on that GAC Install action that I need to set or some other means of to get it to run the gacutil from the correct location?
I am running Visual Build Pro Version 7.7a.