How can I make the namespace locally match what is

2019-08-25 04:06发布

I'm using Microsoft Visual Studio 2013 Premium. When I consult MSDN, it lists the classes available for the Microsoft.VisualStudio.TestTools.UITesting namespace. However when I view that namespace through the Object Browser, it doesn't list all of the classes. This is further evidenced when I try to use the ImageComparer class. How can I get all of the classes?

MSDN: http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.uitesting.aspx

Local Object Browser:

Object Browser Screenshot

1条回答
【Aperson】
2楼-- · 2019-08-25 04:30

It's possible that you've referenced a different Microsoft.VisualStudio.TestTools.UITesting.dll . This can happen if you've had multiple versions of VS installed. Did you browse to the location for this or did you add it from Assemblies? Both can make quite the difference.

查看更多
登录 后发表回答