Ranorex 3.3 Build error on "AxImp.exe"?
Posted: Wed Jun 06, 2012 5:29 pm
Hi,
When I try to do a build with Ranorex 3.3 installed I get the following error:
Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. (MSB3091)
In answer to the solutions presented: 1 - I have Microsoft Windows SDK 7.1 installed. 2 - I have Visual Studio 2005, our company cannot update to 2010 at the present time. 3 - I tried adding a registry key as specified and having the InstallationFolder value point to the v7.1 SDK location. 4 - I don't know where the "ToolPath" parameter is.
I installed Windows SDK 7.0 just as a test and received this warning instead:
The "MSBuild" task failed unexpectedly.
Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: refCount should not be less than 1.
at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Exception innerException, Object[] args)
at Microsoft.Build.Collections.CopyOnWriteDictionary`2.CopyOnWriteBackingDictionary`2.get_HasNoClones()
at Microsoft.Build.Collections.CopyOnWriteDictionary`2.set_Item(K key, V value)
at Microsoft.Build.Collections.CopyOnWriteDictionary`2.System.Collections.IDictionary.set_Item(Object key, Object value)
The error goes on for a few pages. Also I don't think I should have to install an OLDER build of the windows SDK to build my project.
I also have an additional 24 new warnings similar to this one when I build:
The primary reference "Ranorex.Plugin.Flex, Version=3" could not be resolved because it has an indirect dependency on the framework assembly "UIAutomationProvider, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Ranorex.Plugin.Flex, Version=3" or retarget your application to a framework version which contains "UIAutomationProvider, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". (MSB3268)
I started moving our team to 3.3 and now we are at a standstill because there were seems to be certain requirements that were not in 3.2.3 that are needed for 3.3. Please let me know what I need to do to move forward to 3.3. I am using Windows 7 and have all the required windows updates.
Thank you,
-Nick
When I try to do a build with Ranorex 3.3 installed I get the following error:
Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. (MSB3091)
In answer to the solutions presented: 1 - I have Microsoft Windows SDK 7.1 installed. 2 - I have Visual Studio 2005, our company cannot update to 2010 at the present time. 3 - I tried adding a registry key as specified and having the InstallationFolder value point to the v7.1 SDK location. 4 - I don't know where the "ToolPath" parameter is.
I installed Windows SDK 7.0 just as a test and received this warning instead:
The "MSBuild" task failed unexpectedly.
Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: refCount should not be less than 1.
at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Exception innerException, Object[] args)
at Microsoft.Build.Collections.CopyOnWriteDictionary`2.CopyOnWriteBackingDictionary`2.get_HasNoClones()
at Microsoft.Build.Collections.CopyOnWriteDictionary`2.set_Item(K key, V value)
at Microsoft.Build.Collections.CopyOnWriteDictionary`2.System.Collections.IDictionary.set_Item(Object key, Object value)
The error goes on for a few pages. Also I don't think I should have to install an OLDER build of the windows SDK to build my project.
I also have an additional 24 new warnings similar to this one when I build:
The primary reference "Ranorex.Plugin.Flex, Version=3" could not be resolved because it has an indirect dependency on the framework assembly "UIAutomationProvider, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Ranorex.Plugin.Flex, Version=3" or retarget your application to a framework version which contains "UIAutomationProvider, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". (MSB3268)
I started moving our team to 3.3 and now we are at a standstill because there were seems to be certain requirements that were not in 3.2.3 that are needed for 3.3. Please let me know what I need to do to move forward to 3.3. I am using Windows 7 and have all the required windows updates.
Thank you,
-Nick