"The type ... conflicts with the imported type" warning mess
Posted: Mon Sep 05, 2016 3:37 pm
I'm still learning my way around Ranorex. I've upgraded to Ranorex v6.1.0 on Windows10 and have just started fiddling with image comparisons to find out how they work. In the process I created a new user code module which references elements in my repository and started seeing the following warning message.
Essentially I've put my repository in a shared module A which contains common code, then linked the repository to test module B which contains the actual test code/recordings. My new user code module lives in test module B and reports this warning.
"The type 'A.MyRepository' in 'B.MyRepository.cs' conflicts with the imported type 'A.MyRepository' in 'A.dll'. Using the type defined in 'B.Repository.cs'. (CS0436) - UserCodeModule.cs:47,104"
After searching on the forums I found this locked post which appears to exactly match my scenario. I like to understand/fix/clean-up my warnings so was wondering what I was missing.
Essentially I've put my repository in a shared module A which contains common code, then linked the repository to test module B which contains the actual test code/recordings. My new user code module lives in test module B and reports this warning.
"The type 'A.MyRepository' in 'B.MyRepository.cs' conflicts with the imported type 'A.MyRepository' in 'A.dll'. Using the type defined in 'B.Repository.cs'. (CS0436) - UserCodeModule.cs:47,104"
After searching on the forums I found this locked post which appears to exactly match my scenario. I like to understand/fix/clean-up my warnings so was wondering what I was missing.