CA Plex 7.2 MSBuild Problem with AxImp:assembly built by newer runtime for e.g.Interop.ComctlLib.dll , Interop.MSComctlLib.dll.
I wanted to make a simple test of a function with a TreeView:
e.g. Test Functions.TestTreeView is-a UISTYLE/ShowTree
On MSBuild I keep receiving errors like the following errors:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\AxImp.exe C:\WINDOWS\system32\COMCTL32.OCX /out:obj\Release\AxInterop.ComctlLib.dll /rcw:obj\Release\Interop.ComctlLib.dll
AXIMP : AxImp error : The assembly 'C:\Appls\TSTWCICE72\Gen\Src\obj\Release\Interop.ComctlLib.dll' failed to load with this error: Could not load file or assembly 'file:///C:\Appls\TSTWCICE72\Gen\Src\obj\Release\Interop.ComctlLib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.. [C:\Appls\TSTWCICE72\Gen\Src\TWICE72N.csproj]
Why is this happening ?
I attach the related MSBuild log as a .txt and also some images from windows explorer related searches.
Any ideas would be appreciated.