Juste3alfaz
Juste3alfaz

Reputation: 295

Ranorex System.TypeInitializationException

After I use my code when Ranorex is installed is works fine, but after uninstalled it, I have a library of Ranorex payed version, but I don't install it on my PC, just I need the library. there an exception showed with this line of code

Form form = Host.Local.FindSingle<Ranorex.Form>("form[@processname='" + pr.ProcessName + "']");

On debug Mode shows ;

'Host.Local' threw an exception of type 'System.TypeInitializationException'

Exception :

Exception thrown: 'System.TypeInitializationException' in Ranorex.Core.dll Additional information: The type initializer for 'Ranorex.Core.ElementEngine' threw an exception.

Upvotes: 0

Views: 578

Answers (1)

Martin
Martin

Reputation: 615

For Ranorex and it's components to work atleast Ranorex Runtime Licencse is required.

Upvotes: 2

Related Questions