How to use with Visual Studio 2010?
Posted: Tue Aug 10, 2010 3:35 pm
Hello,
I'm new to both Ranorex and VS 2010. I'm currently evaluating the 30 day trial. I've had success with the Ranorex Studio, but now I'm trying to see how integration works with VS2010.
On the system I'm using, first I installed Ranorex 30 day trial (version 2.3.3.8879). Then after using it for a few weeks, I installed VS 2010.
I'm trying to follow the example posted here (http://www.ranorex.com/support/user-gui ... ation.html), even though it says it is for VS 2005 and VS 2008. I assume it should still work.
My first issue is that when I go to add a reference to Ranorex Core. None of the Ranorex items are listed under the .NET tab. I assume this is because of the order in which I installed the products. I went to browse tab and added a reference to the file Ranorex.Core.DLL in the Ranorex BIN folder. Was this correct? Do I need to do anything else?
My second issue (might be related to the first) is when I put the code into the application (as per above link) and try to build the program, I get many errors related to the fact that it doesn't know what the Ranorex item is. I also get some warnings as such:
"The referenced assembly "Ranorex.Core, Version=2.3.3.8879, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project."
Can someone please point me in the right direction?
Thanks,
Aracknid
I'm new to both Ranorex and VS 2010. I'm currently evaluating the 30 day trial. I've had success with the Ranorex Studio, but now I'm trying to see how integration works with VS2010.
On the system I'm using, first I installed Ranorex 30 day trial (version 2.3.3.8879). Then after using it for a few weeks, I installed VS 2010.
I'm trying to follow the example posted here (http://www.ranorex.com/support/user-gui ... ation.html), even though it says it is for VS 2005 and VS 2008. I assume it should still work.
My first issue is that when I go to add a reference to Ranorex Core. None of the Ranorex items are listed under the .NET tab. I assume this is because of the order in which I installed the products. I went to browse tab and added a reference to the file Ranorex.Core.DLL in the Ranorex BIN folder. Was this correct? Do I need to do anything else?
My second issue (might be related to the first) is when I put the code into the application (as per above link) and try to build the program, I get many errors related to the fact that it doesn't know what the Ranorex item is. I also get some warnings as such:
"The referenced assembly "Ranorex.Core, Version=2.3.3.8879, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project."
Can someone please point me in the right direction?
Thanks,
Aracknid