resgen.exe problem when using resx files in Ranorex 4.0.2
Posted: Wed Feb 20, 2013 5:30 pm
I'm using Ranorex 4.0.2 and use resx files to get some strings. Ranorex is running on windows vista sp2. I had the same problem with Ranorex on Windows 7. Everytime I build my solution I get the following error:
Greets Michael
I tried all possible fixes and solved the problem with the installation of Visual Studio 2010. Thats the only possibility to solve it. Now we are using a virtual machine with windows vista sp2 which does not provide another 4GB disk space to install an Windows SDK or a Visual Studio 2010. Normally the correct resgen.exe should be delivered by Ranorex!? Is there a small/fast solution from your side?Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed.
The task is looking for "resgen.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)
Greets Michael