Page 1 of 1

Using .NET assembly for Reusable functions in Ranorex

Posted: Thu Sep 27, 2007 8:00 am
by prashantb
Hi,
I have created .NET assembly ("RanorexLibrary.dll") for using reusable functions in the script which has a reference to 'RanorexNet.dll'. I am writing my test scripts in VBScript. Hence I have registered and loaded it in cache using gacutil.exe. But when I am executing my script it gives me following error.

'Could not load file or assembly 'RanorexNet, Version=1.2.0.0, Culture=neutral, PublicKeyToken=24c2d826cd608828' or one of its dependencies. The system cannot find the file specified.'

I have placed RanorexCore.dll in C:\Windows\System32 folder.

Posted: Thu Sep 27, 2007 3:28 pm
by webops
Please try the following:

Copy your application and the RanorexLibrary.dll into the Bin\Net2.0-Pro directory of the Ranorex installation.
(All needed Ranorex components are in this directory).

Start your application.

Jenö
Ranorex Team