Im referencing an external DLL UITestingUtilities.dll inside my CodedUI project. There are three extension methods that are related to my object WinTreeItem in thid DLL. Inside Visual Studio I can see that these three methods are properly associated and also there is no error. However, at runtime, two methods are visible TryFind and GetState but third method GetValue is not being resolved.
The error I get is "An exception of type 'System.NotSupportedException' occurred in Microsoft.VisualStudio.TestTools.UITesting.dll but was not handled in user code
Additional information: GetProperty of "Value" is not supported on control type: TreeItem"
I feel that due to name so generic GetValue, it is being resolved as GetValue of PropertyInfo at runtime.
I've called the method directly, I did cast, just nothing working.
Also, this is happening after converting project from Visual Studio 2010 to 2013. In 2010 it was working fine.
Help please