Reputation: 157
I have created a coded ui test that checks something in my software. It worked fine, but now I keep getting null reference exception when I try to interact with my UITestControls (that were generated in the uimap). The strange thing is, that the UITestControls 'Exist' property returns true, which means that the control had been found.
I've searched and found this topic: http://social.msdn.microsoft.com/Forums/en/vsautotest/thread/c2e6e5c3-2503-4506-9963-733fd84fbd25, But I have checked in my project, and the 'Copy Local' property of these assemblies is set to false.
I think that this exception first occurred after I have added an app.config file to my project. Maybe this might be the problem? If so, how can I fix this without deleting my app.config file?
Thanks!
Upvotes: 3
Views: 1841
Reputation: 1227
I solved this problem for myself by:
false
. The asker did this already, this was important.false
, but the DLLs are still there from when Copy Local was true
!Upvotes: 4