i have the problem that when I compile the solution with .Net 4.0 I get a exception from the Ranorex-Library.
I have two projects, in one project an exception is thrown when I use the repository. The message of the exception is: Failed to load default plugins. Please reinstall Ranorex. But Ranorex is fresh installed!
In the other project the exception is thrown directly after the start when I set the AbortKey. The message is:
Code: Select all
System.IO.FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. at Ranorex.Keyboard.add_KeyDown at Ranorex.Keyboard.set_AbortKey at Siemens.SAT.Quality.SQMain.Main in w:\WorkspaceSW3\Tools\TestEngine4.0\TestEngine\SQMain.cs:line 42