I am working on a Silverlight project, and recently someone on my team added var popups = VisualTreeHelper.GetOpenPopups()
to a method in our app. When I got their code from source control I got a compile error saying that GetOpenPopups
wasn't found on VisualTreeHelper
. VisualTreeHelper
is an object coming from the System.Windows.Media
namespace, and there is no difference between my code file (for this file) and that of the rest of my team. In the object browser I can see that in the System.Windows
assembly under the System.Windows.Media
namespace, the GetOpenPopups
method is not listed for me, but it is for the rest of my team. It appears that somehow we have different versions of these assemblies, but there are no warnings about reference versions being incorrect from the project/solution.
What am I missing here? Why is GetOpenPopups()
missing for me (and not the rest of my team)?