cannot add dll to project
Posted: Wed Sep 19, 2012 11:45 am
Hello,
I am trying to add my own dll to one of the sample ranorex sample project. however, upon compile I get 1 warning and 1 error
Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'C:\downloads\foo.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (MSB3246)
The type or namespace name 'foo' could not be found (are you missing a using directive or an assembly reference?) (CS0246) - C:\Users\windows7\Documents\Ranorex\RanorexStudio Projects\Samples\KeePassTestSuite\KeePassTestSuite\CodeModules\foo.cs:20,7
I can see the dll in the references folder. I tried chaning the project target framework to different versions (2, 3, 3.5, 4) but to luck.
What am I doing wrong? This dll works fine when being called from some IDE like sharp develop.
Thanks
I am trying to add my own dll to one of the sample ranorex sample project. however, upon compile I get 1 warning and 1 error
Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'C:\downloads\foo.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (MSB3246)
The type or namespace name 'foo' could not be found (are you missing a using directive or an assembly reference?) (CS0246) - C:\Users\windows7\Documents\Ranorex\RanorexStudio Projects\Samples\KeePassTestSuite\KeePassTestSuite\CodeModules\foo.cs:20,7
I can see the dll in the references folder. I tried chaning the project target framework to different versions (2, 3, 3.5, 4) but to luck.
What am I doing wrong? This dll works fine when being called from some IDE like sharp develop.
Thanks